We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bbedd7 commit c8ef8b6Copy full SHA for c8ef8b6
src/librustc_codegen_llvm/back/link.rs
@@ -606,7 +606,7 @@ pub fn linker_and_flavor(sess: &Session) -> (PathBuf, LinkerFlavor) {
606
// only the linker flavor is known; use the default linker for the selected flavor
607
(None, Some(flavor)) => Some((PathBuf::from(match flavor {
608
LinkerFlavor::Em => if cfg!(windows) { "emcc.bat" } else { "emcc" },
609
- LinkerFlavor::Gcc => "gcc",
+ LinkerFlavor::Gcc => "cc",
610
LinkerFlavor::Ld => "ld",
611
LinkerFlavor::Msvc => "link.exe",
612
LinkerFlavor::Lld(_) => "lld",
0 commit comments