mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Don't build test helpers for wasm32
This commit is contained in:
@@ -1016,7 +1016,10 @@ fn run(self, builder: &Builder<'_>) {
|
||||
// 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);
|
||||
|
||||
Reference in New Issue
Block a user