about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-26 10:45:11 +0000
committerbors <bors@rust-lang.org>2024-02-26 10:45:11 +0000
commit6903a5c7d67836e489f2330fda4a1c6153665780 (patch)
treed323de438562c03f76cc2c21632773e25d76e3ae /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4585b461e5359674eaa5b7e0a92b709c919d7e56 (diff)
parent9f1d4aa4b9e4a1572c1210b3bd7c7490778b6112 (diff)
downloadrust-6903a5c7d67836e489f2330fda4a1c6153665780.tar.gz
rust-6903a5c7d67836e489f2330fda4a1c6153665780.zip
Auto merge of #16665 - MabezDev:prio-rustup-when-searching, r=Veykril
Prioritise rustup sysroots over system ones

`get_path_for_executable` will now first check `$CARGO_HOME` before falling back to searching `$PATH`.

`rustup` is the recommended way to manage rust toolchains, therefore should be picked before the system toolchain.

Closes #16661
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions