about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-12 11:26:53 +0000
committerbors <bors@rust-lang.org>2024-02-12 11:26:53 +0000
commit5e1b09bb76cf8572b60939e4abb1951b0a39f67e (patch)
treeec32ca3eea5abbe54cfd4c3df2936109436b58cd /compiler/rustc_llvm/llvm-wrapper
parentb7972e51024d1417422c933a6ff3caa370a92de5 (diff)
parent8f3209ba277c0022bb1cfb2f28bae0da5f1f1100 (diff)
downloadrust-5e1b09bb76cf8572b60939e4abb1951b0a39f67e.tar.gz
rust-5e1b09bb76cf8572b60939e4abb1951b0a39f67e.zip
Auto merge of #16537 - Veykril:sysroot-tools, r=Veykril
internal: tool discovery prefers sysroot tools

Fixes https://github.com/rust-lang/rust-analyzer/issues/15927, Fixes https://github.com/rust-lang/rust-analyzer/issues/16523

After this PR we will look for `cargo` and `rustc` in the sysroot if it was succesfully loaded instead of using the current lookup scheme. This should be more correct than the current approach as that relies on the working directory of the server binary or loade workspace, meaning it can behave a bit odd wrt overrides.

Additionally, rust-project.json projects now get the target data layout set so there should be better const eval support now.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions