GithubHelp home page GithubHelp logo

Comments (4)

Cavig01 avatar Cavig01 commented on August 16, 2024 1

I've found the cause. In case whoever else meet this problem:
This is an intentional design on the pacman package rustup. It's not that rust-analyzer isn't being proxied, but proxied at /usr/lib/rustup/bin/rust-analyzer. It was to avoid conflict between rust-analyzer installed by rustup and one by pacman, since it is also an available pacman package.

To solve this problem, you can just add /usr/lib/rustup/bin/ in your $PATH variable.

from rustup.

rami3l avatar rami3l commented on August 16, 2024

@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?

from rustup.

Cavig01 avatar Cavig01 commented on August 16, 2024

@rami3l I've just tried. It appears that it was because I installed rustup by pacman. Rustup installed by rustup-init.sh doesn't have the problem.

from rustup.

rami3l avatar rami3l commented on August 16, 2024

@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!

from rustup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.