From b9e7b3e05cfbc162ac57fb055a9d7bcbcae4cfdb Mon Sep 17 00:00:00 2001 From: Siavash Sameni Date: Sun, 29 Mar 2026 09:12:09 +0400 Subject: [PATCH] fix: arch linux uses rustup for wasm target support Co-Authored-By: Claude Opus 4.6 (1M context) --- warzone/scripts/build-linux.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/warzone/scripts/build-linux.sh b/warzone/scripts/build-linux.sh index d0653a9..9c3d270 100755 --- a/warzone/scripts/build-linux.sh +++ b/warzone/scripts/build-linux.sh @@ -410,7 +410,11 @@ do_local_deps() { sudo dnf install -y gcc gcc-c++ make pkg-config openssl-devel curl >/dev/null 2>&1 ;; 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 install openssl pkg-config 2>/dev/null || true