From ea91edf5a2053d04a0f5846ab837d622e42a7ddf Mon Sep 17 00:00:00 2001 From: Ralf Anton Beier Date: Tue, 12 May 2026 06:15:44 +0200 Subject: [PATCH] ci(release): install wasm-component-ld in build-test-evidence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build-test-evidence job builds spar for wasm32-wasip2 via scripts/build-wasm.sh. Recent Rust nightlies stopped bundling `wasm-component-ld` (the WASI Preview 2 component linker) with the target's tools, so the CMake try-compile in a transitive -sys crate's build script fails with `Executable "wasm-component-ld" doesn't exist!`, which fails build-test-evidence and skips Create GitHub Release — blocking the whole release. Install wasm-component-ld explicitly before the WASM build. Surfaced when the v0.9.0 Release workflow failed on this; v0.8.0 happened to land on a nightly that still bundled the linker. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa701025..bda13ee8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -183,6 +183,13 @@ jobs: with: tool: cargo-nextest,cargo-llvm-cov + # wasm32-wasip2 component builds link via wasm-component-ld. Recent + # nightlies have stopped bundling it with the target's tools, so the + # spar WASM build fails with `Executable "wasm-component-ld" doesn't + # exist!`. Install it explicitly. + - name: Install wasm-component-ld + run: cargo install --locked wasm-component-ld + - name: Build spar WASM assets run: | git clone --depth 1 https://github.com/pulseengine/spar.git ../spar