-
Notifications
You must be signed in to change notification settings - Fork 0
Compile Rust toolchain
kdtie edited this page Oct 7, 2025
·
1 revision
Install Rust compiler
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile default --no-modify-path -y
# Add ${HOME}/.cargo/bin into PATH
source ~/.ashrc
# Verify
echo $PATH
# Output should have /home/$USER/.cargo/bin
/home/tie/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binInstall C complier and set Rust compile flags
ss apk add build-base
stow -v cargoNote
To use build-next-overlay after installing it, you must call stow -v --overwrite=.cargo/config.toml cargo-build-next