Use Rust via the rustup toolchain

This commit is contained in:
Ohad Livne 2026-02-10 00:46:09 +02:00
parent 9173b92ea9
commit 049c8854a0
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 22 additions and 4 deletions

View file

@ -14,6 +14,11 @@ emacs_update() {
emacsclient --alternate-editor "" --reuse-frame --eval "(elpaca-pull-all t)" --no-wait > /dev/null
}
rustup_update() {
echo Updating the rustup toolchain...
rustup update
}
cargo_update() {
# shellcheck disable=SC2046
cargo install $(cargo install --list | grep '^[a-z0-9_-]\+ v[0-9.]\+:$' | cut --delimiter=' ' --fields=1)
@ -38,6 +43,7 @@ podman_update() {
apt_update
emacs_update
rustup_update
uv_update
cargo_update
ghup