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> {
21352135 if let Some ( ref p) = self . config . nodejs {
21362136 args. push ( p. clone ( ) ) ;
21372137 } else {
2138- self . fatal ( "no NodeJS binary found (--nodejs)" ) ;
2138+ self . fatal ( "emscripten target requested and no NodeJS binary found (--nodejs)" ) ;
21392139 }
21402140 // If this is otherwise wasm, then run tests under nodejs with our
21412141 // shim
21422142 } else if self . config . target . contains ( "wasm32" ) {
21432143 if let Some ( ref p) = self . config . nodejs {
21442144 args. push ( p. clone ( ) ) ;
21452145 } else {
2146- self . fatal ( "no NodeJS binary found (--nodejs)" ) ;
2146+ self . fatal ( "wasm32 target requested and no NodeJS binary found (--nodejs)" ) ;
21472147 }
21482148
21492149 let src = self
You can’t perform that action at this time.
0 commit comments