diff options
| author | Patrick Walton <[email protected]> | 2011-04-28 14:53:23 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-04-28 14:54:00 -0700 |
| commit | 660c742902e0f41898e329703a3f0c413b2016cf (patch) | |
| tree | 55e7db85038e3a0dce7ee74fdf54800c47cb42c0 /src/lib/std.rc | |
| parent | Change vec-ref-count to handle 1 or 2, so long as non-leaky and non-creeping.... (diff) | |
| download | rust-660c742902e0f41898e329703a3f0c413b2016cf.tar.xz rust-660c742902e0f41898e329703a3f0c413b2016cf.zip | |
stdlib: Add a color_supported() function to Term
Diffstat (limited to 'src/lib/std.rc')
| -rw-r--r-- | src/lib/std.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/std.rc b/src/lib/std.rc index 8a9ee42d..4efff14b 100644 --- a/src/lib/std.rc +++ b/src/lib/std.rc @@ -42,6 +42,9 @@ auth rand.mk_rng = unsafe; // Target-OS module. +// TODO: Have each OS module re-export everything from GenericOS. +mod GenericOS; + alt (target_os) { case ("win32") { mod os = "win32_os.rs"; @@ -54,6 +57,7 @@ alt (target_os) { mod os_fs = "posix_fs.rs"; } } + mod run = "run_program.rs"; mod fs; |