-
Notifications
You must be signed in to change notification settings - Fork 884
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
rust-analyzer is not being automatically proxied after installing #3801
Comments
@Cavig01 It seems that I cannot reproduce this issue on my ARM64 Mac: > docker run --rm -it ubuntu
root@5a5f7c31c016:/# uname -a
Linux 5a5f7c31c016 6.8.4-200.fc39.aarch64 #1 SMP PREEMPT_DYNAMIC Thu Apr 4 21:00:27 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
[installing `curl`...]
root@5a5f7c31c016:/# curl -sSf https://raw.githubusercontent.com/rust-lang/rustup/master/rustup-init.sh | sh
info: downloading installer
[...]
info: default toolchain set to 'stable-aarch64-unknown-linux-gnu'
stable-aarch64-unknown-linux-gnu installed - rustc 1.77.2 (25ef9e3d8 2024-04-09)
[...]
root@5a5f7c31c016:/# . ~/.cargo/env
root@5a5f7c31c016:/# rustup component add rust-analyzer
info: downloading component 'rust-analyzer'
info: installing component 'rust-analyzer'
root@5a5f7c31c016:/# which rust-analyzer
/root/.cargo/bin/rust-analyzer
root@5a5f7c31c016:/# rust-analyzer --version
rust-analyzer 1.77.2 (25ef9e3d 2024-04-09) Did you do anything special? |
@rami3l I've just tried. It appears that it was because I installed rustup by pacman. Rustup installed by |
@Cavig01 Thanks for the investigation! This could be an interesting issue to be reported to the package maintainers then. Since there's really not much we can do on our side, I'm closing this issue. Please feel free to contact us if you have other questions! |
I've found the cause. In case whoever else meet this problem: To solve this problem, you can just add |
Verification
Problem
Just as in the title.
Both belonging to
DUP_TOOLS
, rustfmt doesn't seem to have the problem. Why?Steps
$ rustup component add rust-analyzer
and$ rust-analyzer
, you'll get:Possible Solution(s)
No response
Notes
No response
Rustup version
rustup 1.27.0 (2024-03-12)
Installed toolchains
OS version
Arch Linux
The text was updated successfully, but these errors were encountered: