Skip to content
Permalink
Browse files

Don't build test helpers for wasm32

  • Loading branch information...
Zoxc committed Apr 10, 2019
1 parent b70124e commit cf0454ca1a242cb166bc871c12716832be22216f
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/bootstrap/test.rs
@@ -1016,7 +1016,10 @@ impl Step for Compiletest {
// Also provide `rust_test_helpers` for the host.
builder.ensure(native::TestHelpers { target: compiler.host });

builder.ensure(native::TestHelpers { target });
// wasm32 can't build the test helpers
if !target.contains("wasm32") {
builder.ensure(native::TestHelpers { target });
}
builder.ensure(RemoteCopyLibs { compiler, target });

let mut cmd = builder.tool_cmd(Tool::Compiletest);

0 comments on commit cf0454c

Please sign in to comment.
You can’t perform that action at this time.