Skip to content

Commit c765247

Browse files
committed
Rebuild std with threading support
1 parent 437f240 commit c765247

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/wasm.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- name: Prepare cargo tests
18-
run: rustup target add wasm32-unknown-emscripten
18+
run: |
19+
rustup target add wasm32-unknown-emscripten --toolchain=nightly
20+
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
1921
2022
- name: Build for wasm
21-
run: cargo build --target=wasm32-unknown-emscripten
23+
run: cargo +nightly build --target=wasm32-unknown-emscripten -Zbuild-std=panic_abort,std
2224

0 commit comments

Comments
 (0)