about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-10 22:00:50 +0200
committerGitHub <noreply@github.com>2024-10-10 22:00:50 +0200
commite88cc517e883955cc50d0f927115fc24795542ae (patch)
treeaecc28d375b69c1b053f02c6f9d53fa201eb273e /compiler/rustc_feature/src
parentfa3dff3e2436e9323004c3e960098e4acba964e1 (diff)
parent1edff466e19c4e2e2f8035de5a25d8a2dc2fef96 (diff)
downloadrust-e88cc517e883955cc50d0f927115fc24795542ae.tar.gz
rust-e88cc517e883955cc50d0f927115fc24795542ae.zip
Rollup merge of #131493 - madsmtm:avoid-redundant-linker-path, r=jieyouxu
Avoid redundant sysroot additions to `PATH` when linking

Currently, `rustc` prepends `$HOME/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/bin` to the `PATH` three times before invoking the linker, which is unnecessary, once should be enough.

Spotted this while trying to get `-Clinker-flavor=gcc` and `-Clinker-flavor=ld` closer together, not really important.

`````@rustbot````` A-linkage
Diffstat (limited to 'compiler/rustc_feature/src')
0 files changed, 0 insertions, 0 deletions