File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/tools/compiletest/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2135,15 +2135,15 @@ impl<'test> TestCx<'test> {
2135
2135
if let Some ( ref p) = self . config . nodejs {
2136
2136
args. push ( p. clone ( ) ) ;
2137
2137
} else {
2138
- self . fatal ( "no NodeJS binary found (--nodejs)" ) ;
2138
+ self . fatal ( "emscripten target requested and no NodeJS binary found (--nodejs)" ) ;
2139
2139
}
2140
2140
// If this is otherwise wasm, then run tests under nodejs with our
2141
2141
// shim
2142
2142
} else if self . config . target . contains ( "wasm32" ) {
2143
2143
if let Some ( ref p) = self . config . nodejs {
2144
2144
args. push ( p. clone ( ) ) ;
2145
2145
} else {
2146
- self . fatal ( "no NodeJS binary found (--nodejs)" ) ;
2146
+ self . fatal ( "wasm32 target requested and no NodeJS binary found (--nodejs)" ) ;
2147
2147
}
2148
2148
2149
2149
let src = self
You can’t perform that action at this time.
0 commit comments