Skip to content

Commit 58a8dac

Browse files
authored
Remove duplicate check
1 parent 50232ff commit 58a8dac

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

compiler/rustc_session/src/session.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1469,10 +1469,7 @@ pub fn build_session(
14691469
let asm_arch =
14701470
if target_cfg.allow_asm { InlineAsmArch::from_str(&target_cfg.arch).ok() } else { None };
14711471

1472-
// Check jobserver before getting `jobserver::client`.
1473-
jobserver::check(|err| {
1474-
handler.early_warn_with_note(err, "the build environment is likely misconfigured")
1475-
});
1472+
// need Check jobserver before getting `jobserver::client`. which called in run_compiler
14761473

14771474
let sess = Session {
14781475
target: target_cfg,

0 commit comments

Comments
 (0)