File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed
compiler/rustc_codegen_ssa/src/back
tests/run-make/jobserver-error Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1452,8 +1452,8 @@ fn start_executing_work<B: ExtraBackendMethods>(
14521452 Err ( e) => {
14531453 let msg = & format ! ( "failed to acquire jobserver token: {}" , e) ;
14541454 shared_emitter. fatal ( msg) ;
1455- // Exit the coordinator thread
1456- panic ! ( "{}" , msg )
1455+ codegen_done = true ;
1456+ codegen_aborted = true ;
14571457 }
14581458 }
14591459 }
Original file line number Diff line number Diff line change 1+ include ../../run-make-fulldeps/tools.mk
2+
3+ # only-linux
4+
5+ # Test compiler behavior in case: `jobserver-auth` points to correct pipe which is not jobserver.
6+
7+ all :
8+ bash -c ' echo "fn main() {}" | MAKEFLAGS="--jobserver-auth=3,3" $(RUSTC) - 3</dev/null' 2>&1 | diff jobserver.stderr -
Original file line number Diff line number Diff line change 1+ error: failed to acquire jobserver token: early EOF on jobserver pipe
2+
3+ error: aborting due to previous error
4+
You can’t perform that action at this time.
0 commit comments