about summary refs log tree commit diff
path: root/src/bootstrap/test.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-07-23 07:25:34 -0700
committerAlex Crichton <alex@alexcrichton.com>2019-08-28 08:34:31 -0700
commit8fe65da935d7e01dbac897dcfbb4fb0f9f24e442 (patch)
treeb254c7ebfb19010383348d31d31b83e85445d644 /src/bootstrap/test.rs
parentac21131f7859836cd3fcb39231c0162fd892d960 (diff)
downloadrust-8fe65da935d7e01dbac897dcfbb4fb0f9f24e442.tar.gz
rust-8fe65da935d7e01dbac897dcfbb4fb0f9f24e442.zip
std: Remove the `wasm_syscall` feature
This commit removes the `wasm_syscall` feature from the
wasm32-unknown-unknown build of the standard library. This feature was
originally intended to allow an opt-in way to interact with the
operating system in a posix-like way but it was never stabilized.
Nowadays with the advent of the `wasm32-wasi` target that should
entirely replace the intentions of the `wasm_syscall` feature.
Diffstat (limited to 'src/bootstrap/test.rs')
-rw-r--r--src/bootstrap/test.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 2bb053cc2b0..97b28ed9e96 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -1811,16 +1811,6 @@ impl Step for Crate {
                     .expect("nodejs not configured"),
             );
         } else if target.starts_with("wasm32") {
-            // Warn about running tests without the `wasm_syscall` feature enabled.
-            // The javascript shim implements the syscall interface so that test
-            // output can be correctly reported.
-            if !builder.config.wasm_syscall {
-                builder.info(
-                    "Libstd was built without `wasm_syscall` feature enabled: \
-                     test output may not be visible."
-                );
-            }
-
             // On the wasm32-unknown-unknown target we're using LTO which is
             // incompatible with `-C prefer-dynamic`, so disable that here
             cargo.env("RUSTC_NO_PREFER_DYNAMIC", "1");