diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-10 10:23:09 +0200 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-04-10 21:17:33 +0200 |
| commit | cf0454ca1a242cb166bc871c12716832be22216f (patch) | |
| tree | 750a9199085c59d9436cc972578c8ead9cd17935 /src/bootstrap | |
| parent | b70124ed479bbdd846240ec14c44676687eeaba1 (diff) | |
| download | rust-cf0454ca1a242cb166bc871c12716832be22216f.tar.gz rust-cf0454ca1a242cb166bc871c12716832be22216f.zip | |
Don't build test helpers for wasm32
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 881bea5d97e..c552f607960 100644 --- a/src/bootstrap/test.rs +++ b/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); |
