Skip to content

Commit 1098e52

Browse files
committed
Switch back to stable rust version for wasm tests
The ubuntu-latest image uses Node v18, which isn't compatible with wasm-bindgen-test when building with Rust 1.82+ due to the use of LLVM's `reference-types` feature, see: wasm-bindgen/wasm-bindgen#4211 ubuntu-24.04 includes Node v20 which doesn't have the same problem, allowing the wasm tests to move back to stable.
1 parent 5dc18ef commit 1098e52

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ jobs:
9696
run: just check_links
9797

9898
wasm:
99-
runs-on: ubuntu-latest
99+
runs-on: ubuntu-24.04
100100

101101
steps:
102102
- uses: actions/checkout@v4
103-
- uses: dtolnay/rust-toolchain@1.81.0
103+
- uses: dtolnay/rust-toolchain@stable
104104
with:
105105
targets: wasm32-unknown-unknown
106106
- uses: jetli/[email protected]

crates/koto/examples/wasm/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ To build and open the example site, `cd` to this folder and run:
1111
npm install
1212
npm run start
1313
```
14+
15+
## Dependencies
16+
17+
Since Rust `1.82`, Node `v20` is required to run the tests.

0 commit comments

Comments
 (0)