Skip to content

Commit af0eec9

Browse files
ci: pin nightly to nightly-2026-05-07 for ts-test-suite WASM build
Latest nightly causes rustc to SIGSEGV when compiling tokio for wasm32-unknown-unknown under -Zbuild-std=std,panic_unwind. PR #171 hits this in the "Build WASM module" step on both ubuntu-latest and macos-latest matrix legs of TS Test Suite. Mirrors the equivalent fix on chore/e2e-ci for hub-client-e2e.yml (commits d06e120, 245cd25, ff51584): - Pin via the workflow's RUSTUP_TOOLCHAIN env var so rust-toolchain.toml stays as floating "nightly" for local developers. - Switch the dtolnay action to @master with a toolchain input (the action no longer accepts @nightly-<date> refs). - Request rust-src and wasm32-unknown-unknown explicitly on the pinned toolchain. Under floating @nightly rustup auto-installed missing components against the active toolchain; once pinned they must be requested for that toolchain or the build:wasm step fails with "library/Cargo.lock does not exist, unable to build with the standard library".
1 parent 9c092ca commit af0eec9

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/ts-test-suite.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727

2828
name: Run test suite
2929
if: github.repository == 'quarto-dev/q2'
30-
30+
31+
# Pin nightly via env so we don't have to edit rust-toolchain.toml
32+
# (which devs may override locally). Latest nightly currently crashes
33+
# rustc with SIGSEGV when compiling tokio under -Zbuild-std for wasm32.
34+
env:
35+
RUSTUP_TOOLCHAIN: nightly-2026-05-07
36+
3137
steps:
3238
- name: Checkout Repo
3339
uses: actions/checkout@v6
@@ -48,7 +54,11 @@ jobs:
4854

4955
# Consistent Rust setup for both platforms
5056
- name: Set up Rust nightly
51-
uses: dtolnay/rust-toolchain@nightly
57+
uses: dtolnay/rust-toolchain@master
58+
with:
59+
toolchain: nightly-2026-05-07
60+
targets: wasm32-unknown-unknown
61+
components: rust-src
5262

5363
- name: Output rust version
5464
shell: bash

0 commit comments

Comments
 (0)