diff options
| author | Jeremy Soller <jackpot51@gmail.com> | 2016-10-27 20:57:49 -0600 |
|---|---|---|
| committer | Jeremy Soller <jackpot51@gmail.com> | 2016-10-27 20:57:49 -0600 |
| commit | 8b09e01fef9912e7c3eef997c40f9f4f91d09e4c (patch) | |
| tree | ab28c5cd1bb526809e12e316ea2b3c2135f72f28 /src/libstd/lib.rs | |
| parent | 07436946b6ee6345509b73c6e4dafb38b6a243f1 (diff) | |
| download | rust-8b09e01fef9912e7c3eef997c40f9f4f91d09e4c.tar.gz rust-8b09e01fef9912e7c3eef997c40f9f4f91d09e4c.zip | |
Add redox system
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 71e0ab0388f..bcd03d2856a 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -316,13 +316,13 @@ extern crate rustc_unicode; extern crate libc; // We always need an unwinder currently for backtraces -extern crate unwind; +//REDOX TODO extern crate unwind; #[cfg(stage0)] extern crate alloc_system; // compiler-rt intrinsics -extern crate compiler_builtins; +//REDOX TODO extern crate compiler_builtins; // Make std testable by not duplicating lang items and other globals. See #2912 #[cfg(test)] extern crate std as realstd; @@ -456,6 +456,8 @@ mod memchr; #[macro_use] #[path = "sys/common/mod.rs"] mod sys_common; +#[cfg(redox)] +#[path = "sys/redox/mod.rs"] mod sys; #[cfg(unix)] #[path = "sys/unix/mod.rs"] mod sys; #[cfg(windows)] |
