From da5ddc4e20d48ba83b078640c0d6d60dcdfa456d Mon Sep 17 00:00:00 2001 From: Kurdistan Tech Ministry Date: Wed, 28 Jan 2026 05:38:54 +0300 Subject: [PATCH] fix: add SKIP_WASM_BUILD to all workflows affected by serde_core issue Workflows updated: - tests-evm.yml: differential-tests and evm-test-suite jobs - tests-linux-stable-coverage.yml: test-linux-stable-coverage job - tests-linux-stable-xp.yml: both test jobs (currently disabled but ready) - tests-misc.yml: test-full-crypto-feature job All changes include tracking comment for issue #358. The serde_core + Rust 1.88 + wasm32 combination causes duplicate lang item error. These jobs don't require WASM output, so skip it. --- .github/workflows/tests-evm.yml | 7 +++++++ .github/workflows/tests-linux-stable-coverage.yml | 3 +++ .github/workflows/tests-linux-stable-xp.yml | 6 ++++++ .github/workflows/tests-misc.yml | 3 +++ 4 files changed, 19 insertions(+) diff --git a/.github/workflows/tests-evm.yml b/.github/workflows/tests-evm.yml index 7e100e66..f7f4b741 100644 --- a/.github/workflows/tests-evm.yml +++ b/.github/workflows/tests-evm.yml @@ -26,6 +26,10 @@ jobs: timeout-minutes: 60 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 permissions: pull-requests: write strategy: @@ -111,6 +115,9 @@ jobs: # but still want to have debug assertions. RUSTFLAGS: "-C debug-assertions" RUST_BACKTRACE: 1 + # 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 strategy: matrix: platform: diff --git a/.github/workflows/tests-linux-stable-coverage.yml b/.github/workflows/tests-linux-stable-coverage.yml index 811366c5..a198b134 100644 --- a/.github/workflows/tests-linux-stable-coverage.yml +++ b/.github/workflows/tests-linux-stable-coverage.yml @@ -34,6 +34,9 @@ jobs: # -Cinstrument-coverage slows everything down but it is necessary for code coverage # https://doc.rust-lang.org/rustc/instrument-coverage.html RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings -Cinstrument-coverage" + # 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 LLVM_PROFILE_FILE: "/__w/pezkuwi-sdk/pezkuwi-sdk/target/coverage/cargo-test-${{ matrix.ci_node_index }}-%p-%m.profraw" strategy: fail-fast: false diff --git a/.github/workflows/tests-linux-stable-xp.yml b/.github/workflows/tests-linux-stable-xp.yml index bdb6de98..97d7388a 100644 --- a/.github/workflows/tests-linux-stable-xp.yml +++ b/.github/workflows/tests-linux-stable-xp.yml @@ -39,6 +39,9 @@ jobs: # Enable debug assertions since we are running optimized builds for testing # but still want to have debug assertions. RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + # 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 @@ -70,6 +73,9 @@ jobs: # Enable debug assertions since we are running optimized builds for testing # but still want to have debug assertions. RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + # 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 diff --git a/.github/workflows/tests-misc.yml b/.github/workflows/tests-misc.yml index 8f99e1a9..5c8ab9ef 100644 --- a/.github/workflows/tests-misc.yml +++ b/.github/workflows/tests-misc.yml @@ -34,6 +34,9 @@ jobs: # but still want to have debug assertions. RUSTFLAGS: "-C debug-assertions" RUST_BACKTRACE: 1 + # 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