mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Don't build test helpers for wasm32
This commit is contained in:
parent
b70124ed47
commit
cf0454ca1a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user