Skip to content

Commit

Permalink
Don't build test helpers for wasm32
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Apr 10, 2019
1 parent b70124e commit cf0454c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bootstrap/test.rs
Expand Up @@ -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);
Expand Down

0 comments on commit cf0454c

Please sign in to comment.