Skip to content

Commit 76520e6

Browse files
Add gcc-ld to rustc_lib target (#3600)
This makes it possible to use the self-contained `rust-lld` linker through the gcc driver, which will be the default setup in [Rust 1.90.0](https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux/).
1 parent f9d42ff commit 76520e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/private/repository_utils.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ filegroup(
4444
"bin/*{dylib_ext}",
4545
"lib/*{dylib_ext}*",
4646
"lib/rustlib/{target_triple}/codegen-backends/*{dylib_ext}",
47+
"lib/rustlib/{target_triple}/bin/gcc-ld/*",
4748
"lib/rustlib/{target_triple}/bin/rust-lld{binary_ext}",
4849
"lib/rustlib/{target_triple}/lib/*{dylib_ext}*",
4950
"lib/rustlib/{target_triple}/lib/*.rmeta",

0 commit comments

Comments
 (0)