mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Fix compiletest support for wasm32-unknown-emscripten
This commit is contained in:
parent
ffdb2bc1c5
commit
6fb701e874
@ -1870,11 +1870,9 @@ impl<'test> TestCx<'test> {
|
|||||||
} else {
|
} else {
|
||||||
self.fatal("no NodeJS binary found (--nodejs)");
|
self.fatal("no NodeJS binary found (--nodejs)");
|
||||||
}
|
}
|
||||||
}
|
// If this is otherwise wasm, then run tests under nodejs with our
|
||||||
|
|
||||||
// If this is otherwise wasm , then run tests under nodejs with our
|
|
||||||
// shim
|
// shim
|
||||||
if self.config.target.contains("wasm32") {
|
} else if self.config.target.contains("wasm32") {
|
||||||
if let Some(ref p) = self.config.nodejs {
|
if let Some(ref p) = self.config.nodejs {
|
||||||
args.push(p.clone());
|
args.push(p.clone());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user