fix(ci): replace wasm32v1-none with WASM_BUILD_STD=0 in all build jobs
wasm32v1-none pre-built sysroot lacks std, causing memchr compilation failure. Instead, disable build-std via WASM_BUILD_STD=0 and let wasm-builder use the pre-built wasm32-unknown-unknown sysroot which includes std. Affected: 11 build jobs in build-publish-images.yml, 2 benchmark jobs in check-pezframe-omni-bencher.yml.
This commit is contained in:
@@ -26,6 +26,7 @@ jobs:
|
||||
RUST_BACKTRACE: "full"
|
||||
WASM_BUILD_NO_COLOR: 1
|
||||
WASM_BUILD_RUSTFLAGS: "-C debug-assertions"
|
||||
WASM_BUILD_STD: "0"
|
||||
RUST_LOG: "frame_omni_bencher=info,pezkuwi_sdk_frame=info"
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
@@ -34,9 +35,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Install wasm32v1-none target
|
||||
run: rustup target add wasm32v1-none
|
||||
|
||||
- name: Clean cargo cache to free disk space
|
||||
run: |
|
||||
cargo clean 2>/dev/null || true
|
||||
@@ -85,13 +83,11 @@ jobs:
|
||||
PACKAGE_NAME: ${{ matrix.runtime.package }}
|
||||
FLAGS: ${{ matrix.runtime.bench_flags }}
|
||||
RUST_LOG: "frame_omni_bencher=info,pezkuwi_sdk_frame=info"
|
||||
WASM_BUILD_STD: "0"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
|
||||
- name: Install wasm32v1-none target
|
||||
run: rustup target add wasm32v1-none
|
||||
|
||||
- name: script (benchmark ${{ matrix.bench_cmd }})
|
||||
id: required
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user