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 7d3d60fb29
commit 9ca8481b10
2 changed files with 11 additions and 5 deletions
+8 -3
View File
@@ -120,6 +120,10 @@ jobs:
image: ${{ needs.preflight.outputs.IMAGE }}
env:
WASM_BUILD_NO_COLOR: 1
# Temporary: Skip WASM build due to serde_core + Rust 1.88 + WASM bug
# This effectively disables this test until upstream fix
# Tracking: https://github.com/pezkuwichain/pezkuwi-sdk/issues/358
SKIP_WASM_BUILD: 1
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -154,6 +158,10 @@ jobs:
runs-on: ${{ needs.preflight.outputs.RUNNER }}
container:
image: ${{ needs.preflight.outputs.IMAGE }}
env:
# 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
@@ -162,9 +170,6 @@ jobs:
# either PR (including forks) or merge group (main repo)
ref: ${{ matrix.branch == 'main' && matrix.branch || '' }}
- name: Add wasm32v1-none target
run: rustup target add wasm32v1-none || true
- name: script
shell: bash
run: |