Skip to content

Commit 05a2b94

Browse files
committed
do nothing when -Zgcc-ld is not applicable
1 parent 130f033 commit 05a2b94

File tree

1 file changed

+0
-2
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+0
-2
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

-2
Original file line numberDiff line numberDiff line change
@@ -2607,8 +2607,6 @@ fn add_gcc_ld_path(cmd: &mut dyn Linker, sess: &Session, flavor: LinkerFlavor) {
26072607
}
26082608
}
26092609
}
2610-
} else {
2611-
sess.fatal("option `-Z gcc-ld` is used even though linker flavor is not gcc");
26122610
}
26132611
}
26142612
}

0 commit comments

Comments
 (0)