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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user