Files
rust/compiler
Matthias Krüger e88cc517e8 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
2024-10-10 22:00:50 +02:00
..
2024-10-01 17:21:56 -04:00
2024-10-09 10:28:16 -07:00
2024-10-04 23:28:22 +00:00
2024-10-10 06:07:52 -04:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00
2024-10-10 11:46:48 -07:00