We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ff7b6 commit 76e1302Copy full SHA for 76e1302
src/bootstrap/src/utils/helpers.rs
@@ -474,13 +474,13 @@ pub fn linker_flags(
474
if stage == 0 && target.is_windows() {
475
args.push("-Clink-arg=-fuse-ld=lld".to_string());
476
} else {
477
- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
+ args.push("-Zlinker-features=+lld".to_string());
478
}
479
// FIXME(kobzol): remove this flag once MCP510 gets stabilized
480
args.push("-Zunstable-options".to_string());
481
482
LldMode::SelfContained => {
483
484
args.push("-Clink-self-contained=+linker".to_string());
485
486
0 commit comments