mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
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.
This commit is contained in:
1 parent
83e29dba8c
commit
1b38c0919e
1 file changed
+1
-1
@@ -149,7 +149,7 @@ if prompt_default_yes "\n🦀 Setup the Rust environment (e.g. WASM support)?";
|
|||||||
printf "🦀 Setting up Rust environment.\n"
|
printf "🦀 Setting up Rust environment.\n"
|
||||||
rustup default stable
|
rustup default stable
|
||||||
rustup update
|
rustup update
|
||||||
rustup target add wasm32-unknown-unknown
|
rustup target add wasm32v1-none
|
||||||
rustup component add rust-src
|
rustup component add rust-src
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user