fix: add SKIP_WASM_BUILD=1 for serde_core + Rust 1.88 WASM bug

Temporary workaround for upstream serde_core issue that causes
'duplicate lang item exchange_malloc' error with WASM builds.

Affected jobs:
- quick-benchmarks
- test-deterministic-wasm
- cargo-check-benches

Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
Upstream: https://github.com/serde-rs/serde/issues/3021
This commit is contained in:
2026-01-27 19:59:03 +03:00
parent 964ecf88ae
commit b0cc51533e
2 changed files with 11 additions and 5 deletions
+3 -2
View File
@@ -32,6 +32,9 @@ jobs:
WASM_BUILD_NO_COLOR: 1
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings"
CARGO_INCREMENTAL: 0
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
SKIP_WASM_BUILD: 1
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -42,8 +45,6 @@ jobs:
shared-key: quick-benchmarks
cache-on-failure: true
# Note: wasm32v1-none target removed - getrandom crate doesn't support it
# wasm-builder will automatically fallback to wasm32-unknown-unknown
- name: script
run: cargo run --locked --release -p pezstaging-node-cli --bin bizinikiwi-node --features runtime-benchmarks --quiet -- benchmark pezpallet --chain dev --pezpallet "*" --extrinsic "*" --steps 2 --repeat 1 --quiet