We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4166da commit ee901f3Copy full SHA for ee901f3
src/bootstrap/src/utils/helpers.rs
@@ -473,6 +473,8 @@ pub fn linker_flags(
473
// cfg(bootstrap) - remove after updating bootstrap compiler (#137498)
474
if stage == 0 && target.is_windows() {
475
args.push("-Clink-arg=-fuse-ld=lld".to_string());
476
+ } else if target.starts_with("wasm") {
477
+ // wasm-ld is the only available linker for wasm targets.
478
} else {
479
args.push("-Clinker-flavor=gnu-lld-cc".to_string());
480
}
0 commit comments