Skip to content

Prioritise rustup sysroots over system ones #16665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

MabezDev
Copy link
Contributor

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

`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.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 24, 2024
@Veykril
Copy link
Member

Veykril commented Feb 26, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Feb 26, 2024

📌 Commit 9f1d4aa has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Feb 26, 2024

⌛ Testing commit 9f1d4aa with merge 6903a5c...

@bors
Copy link
Contributor

bors commented Feb 26, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 6903a5c to master...

@bors bors merged commit 6903a5c into rust-lang:master Feb 26, 2024
@MabezDev MabezDev deleted the prio-rustup-when-searching branch February 26, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rust-analyzer prefers system rust over rustup rust
4 participants