fix: arch linux uses rustup for wasm target support

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Siavash Sameni
2026-03-29 09:12:09 +04:00
parent deb220ff2c
commit b9e7b3e05c

View File

@@ -410,7 +410,11 @@ do_local_deps() {
sudo dnf install -y gcc gcc-c++ make pkg-config openssl-devel curl >/dev/null 2>&1 sudo dnf install -y gcc gcc-c++ make pkg-config openssl-devel curl >/dev/null 2>&1
;; ;;
pacman) pacman)
sudo pacman -Sy --noconfirm base-devel pkg-config openssl curl >/dev/null 2>&1 sudo pacman -Sy --noconfirm base-devel pkg-config openssl curl rustup >/dev/null 2>&1
# Arch: ensure rustup manages the toolchain (pacman rust conflicts with rustup)
if ! rustup show active-toolchain &>/dev/null; then
rustup default stable 2>/dev/null || true
fi
;; ;;
brew) brew)
brew install openssl pkg-config 2>/dev/null || true brew install openssl pkg-config 2>/dev/null || true