diff options
| author | bors <bors@rust-lang.org> | 2019-05-04 10:22:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-05-04 10:22:05 +0000 |
| commit | d0a6ddfe10a1b0002e76c82696c8a093d87dc155 (patch) | |
| tree | d5aac94a4ae902c9fe7da602b05ed5017f377bc1 /src/libstd/sys | |
| parent | 2f1bc91803b04caf3e20b3849633bb7ffe6b4074 (diff) | |
| parent | c07b52e29a057abb92317a098ab5bc34382e7e63 (diff) | |
| download | rust-d0a6ddfe10a1b0002e76c82696c8a093d87dc155.tar.gz rust-d0a6ddfe10a1b0002e76c82696c8a093d87dc155.zip | |
Auto merge of #60117 - sunfishcode:wasi-os, r=sunfishcode
Categorize WASI as an "OS" rather than as an "environment". This distinction is fairly abstract, but in practice, the main advantage here is that LLVM's triple code considers WASI to be an OS, so this makes rustc agree with that.
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/mod.rs b/src/libstd/sys/mod.rs index d7ce6a08e01..3f3cedc53b7 100644 --- a/src/libstd/sys/mod.rs +++ b/src/libstd/sys/mod.rs @@ -35,7 +35,7 @@ cfg_if! { } else if #[cfg(target_os = "redox")] { mod redox; pub use self::redox::*; - } else if #[cfg(target_env = "wasi")] { + } else if #[cfg(target_os = "wasi")] { mod wasi; pub use self::wasi::*; } else if #[cfg(target_arch = "wasm32")] { |
