#rustup — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #rustup, aggregated by home.social.
-
Forcing #Zed to use #beta of the #rust-analyzer for the project is neither trivial nor obvious. It by default calls stable rust-analyzer ignoring rustup's override for the project; on top of that installing rust-analyzer beta using #rustup is non-obvious and doesn't happen automatically with the override to the beta chanel to my disappointment.
Fact #Zed doesn't handle environment variables in settings files doesn't help.
-
Okay, I got my coding tools sorted out on both my #windows half and my #archlinux half now.
So far that consists of #rustup (for #rustlang vers), #gcc, and #pyenv (for #python vers).
...I'm *not* sure if I should look into a version manager for #nodejs or #php just yet, since that affects the web dev stuff I do on the side.
-
So, yup. The #rustc installed by #homebrew in bottle 1.77.2 won't work right; something's broken in the librustc_driver dylib file. Luckily, you can still build #RubyLang with #YJIT just fine using #rustup instead.
```fish
~> brew install rustup-init &&
source ~/.cargo/env.fish &&
ruby --yjit --version
ruby 3.3.1 (2024-04-23 revision c56cd86388) +YJIT [arm64-darwin23]
``` -
I'm currently trying to get #RubyLang 3.3.1 to compile with `--enable-yjit` set. For some reason, the newest #CRuby version won't build on Sonoma because #RustLang is missing some include or header required for the latest #YJIT to be built.
It seems to be a problem with #rustc. I'm trying with #rustup instead, and will see how that goes.
-
So then I try #Debian. Installs just fine. Doesn't run #rustup from the web site. So I download it and run the shell script locally.
Which installs the wrong #toolchain. Forcing me not only to look into #toolchains but also into figuring out, by trial and error, which ones claimed to be available actually are. And thanks.
Finally I can default the #rust toolchain to stable-aarch64-unknown-linux-gnu. But again: neither #clippy nor #rustfmt are available. And thanks.