diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-26 18:56:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-26 18:56:47 +0200 |
| commit | ceea0be207f8a32b71142e9b5d2a4e9befcbe705 (patch) | |
| tree | 2744cf16f88cb9178b855922dedfb775b4083fc0 /src/libstd/sys/vxworks/mod.rs | |
| parent | 5ffdca77c44f3233abe389890ba73e966d90406d (diff) | |
| parent | 279c399599357cdb40d2bbe24a769d2d1dd4a9d9 (diff) | |
| download | rust-ceea0be207f8a32b71142e9b5d2a4e9befcbe705.tar.gz rust-ceea0be207f8a32b71142e9b5d2a4e9befcbe705.zip | |
Rollup merge of #62862 - BaoshanPang:cleanup, r=alexcrichton
code cleanup remove all codes that are not used by vxWorks
Diffstat (limited to 'src/libstd/sys/vxworks/mod.rs')
| -rw-r--r-- | src/libstd/sys/vxworks/mod.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libstd/sys/vxworks/mod.rs b/src/libstd/sys/vxworks/mod.rs index b01bea03c1b..1eff4fbcd83 100644 --- a/src/libstd/sys/vxworks/mod.rs +++ b/src/libstd/sys/vxworks/mod.rs @@ -7,14 +7,8 @@ pub use crate::os::vxworks as platform; pub use self::rand::hashmap_random_keys; pub use libc::strlen; -#[macro_use] -pub mod weak; - pub mod alloc; pub mod args; -pub mod android; -//#[cfg(feature = "backtrace")] -//pub mod backtrace; pub mod cmath; pub mod condvar; pub mod env; @@ -25,12 +19,7 @@ pub mod fs; pub mod memchr; pub mod io; pub mod mutex; -#[cfg(not(target_os = "l4re"))] pub mod net; -#[cfg(target_os = "l4re")] -mod l4re; -#[cfg(target_os = "l4re")] -pub use self::l4re::net; pub mod os; pub mod path; pub mod pipe; @@ -61,9 +50,6 @@ pub fn init() { unsafe fn reset_sigpipe() { } } -#[cfg(target_os = "android")] -pub use crate::sys::android::signal; -#[cfg(not(target_os = "android"))] pub use libc::signal; pub fn decode_error_kind(errno: i32) -> ErrorKind { |
