diff options
| author | Ed Schouten <ed@nuxi.nl> | 2018-01-11 11:21:42 +0100 |
|---|---|---|
| committer | Ed Schouten <ed@nuxi.nl> | 2018-01-11 11:26:13 +0100 |
| commit | d882bb516e0998d7f9c2d049dcc618992a1a04c0 (patch) | |
| tree | 02370689e6220246902e84563623e84fb80c74a5 /src/libstd/lib.rs | |
| parent | 20745264ce3298147067fcb46e1f51efcb9670e4 (diff) | |
Add shims for modules that we can't implement on CloudABI.
As discussed in #47268, libstd isn't ready to have certain functionality disabled yet. Follow wasm's approach of adding no-op modules for all of the features that we can't implement. I've placed all of those shims in a shims/ subdirectory, so we (the CloudABI folks) can experiment with removing them more easily. It also ensures that the code that does work doesn't get polluted with lots of useless boilerplate code.
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 606ba488b6f..3b79e0c4f82 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -473,21 +473,16 @@ pub mod f64; pub mod thread; pub mod ascii; pub mod collections; -#[cfg(not(target_os = "cloudabi"))] pub mod env; pub mod error; pub mod ffi; -#[cfg(not(target_os = "cloudabi"))] pub mod fs; pub mod io; -#[cfg(not(target_os = "cloudabi"))] pub mod net; pub mod num; pub mod os; pub mod panic; -#[cfg(not(target_os = "cloudabi"))] pub mod path; -#[cfg(not(target_os = "cloudabi"))] pub mod process; pub mod sync; pub mod time; |
