From 1b38c0919ec17968516d7192ba54b4d4c6324dd0 Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Mon, 23 Feb 2026 11:16:54 +0300 Subject: [PATCH] fix: use wasm32v1-none target in getting-started.sh script The wasm32-unknown-unknown target combined with the serde_core fork causes duplicate lang item errors. Using wasm32v1-none avoids the -Z build-std fallback that triggers the conflict. --- scripts/getting-started.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/getting-started.sh b/scripts/getting-started.sh index 7d840c61..55fbc4b0 100755 --- a/scripts/getting-started.sh +++ b/scripts/getting-started.sh @@ -149,7 +149,7 @@ if prompt_default_yes "\nšŸ¦€ Setup the Rust environment (e.g. WASM support)?"; printf "šŸ¦€ Setting up Rust environment.\n" rustup default stable rustup update - rustup target add wasm32-unknown-unknown + rustup target add wasm32v1-none rustup component add rust-src fi