about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-27 03:31:41 +0000
committerbors <bors@rust-lang.org>2024-06-27 03:31:41 +0000
commit1def498e3b9adc1ccce3ec5628e9f8755ec96808 (patch)
tree60070bc02acf259a5a47a76687d72ba70240052a /compiler/rustc_resolve/src
parent7033f9b14a37f4a00766d6c01326600b31f3a716 (diff)
parent80e43c128cf24f143a1bf58ffa972e78633cf8e9 (diff)
downloadrust-1def498e3b9adc1ccce3ec5628e9f8755ec96808.tar.gz
rust-1def498e3b9adc1ccce3ec5628e9f8755ec96808.zip
Auto merge of #126692 - DianQK:nixos-patchelf, r=Nilstrieb
patch `rust-lld` and `ld.lld` on NixOS

When `rustc` uses its self-contained lld, we also need to patch `rust-lld` and `ld.lld`.
The `rpath` for `rust-lld` is `$ORIGIN/../../../:$ORIGIN/../lib`, so I use `--add-rpath` instead of `--set-rpath`, which should be easier to maintain.

I also changed `src/bootstrap/src/core/download.rs`, even this doesn't fix any known issues.

For the `lld-wrapper.sh` of lld, refer to: https://github.com/rust-lang/rustc-dev-guide/pull/1999.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions