Skip to content

Commit 19355af

Browse files
committed
Test Wasm unwinding in release on CI
The rustc bug is now fixed in nightly.
1 parent 3abcd10 commit 19355af

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,10 @@ jobs:
123123
run: LITHIUM_THREAD_LOCAL=std cross test --target $target
124124
- name: Test with panic backend (release)
125125
run: LITHIUM_BACKEND=panic cross test --target $target --release
126-
# XXX: https://github.com/rust-lang/rust/issues/132416
127-
# - name: Test with Wasm backend (release)
128-
# run: RUSTFLAGS="-Z emscripten_wasm_eh" RUSTDOCFLAGS="-Z emscripten_wasm_eh" LITHIUM_BACKEND=wasm cross test --target $target --release -Z build-std
129-
# - name: Test with Itanium backend (release)
130-
# run: RUSTFLAGS="-Z emscripten_wasm_eh" RUSTDOCFLAGS="-Z emscripten_wasm_eh" LITHIUM_BACKEND=itanium cross test --target $target --release -Z build-std
126+
- name: Test with Wasm backend (release)
127+
run: RUSTFLAGS="-Z emscripten_wasm_eh" RUSTDOCFLAGS="-Z emscripten_wasm_eh" LITHIUM_BACKEND=wasm cross test --target $target --release -Z build-std
128+
- name: Test with Itanium backend (release)
129+
run: RUSTFLAGS="-Z emscripten_wasm_eh" RUSTDOCFLAGS="-Z emscripten_wasm_eh" LITHIUM_BACKEND=itanium cross test --target $target --release -Z build-std
131130
- name: Test with Emscripten backend (release)
132131
run: LITHIUM_BACKEND=emscripten cross test --target $target --release
133132
- name: Test with std thread locals (release)
@@ -162,13 +161,12 @@ jobs:
162161
run: LITHIUM_THREAD_LOCAL=std ci/cargo-wasi test --target $target
163162
- name: Test with panic backend (release)
164163
run: LITHIUM_BACKEND=panic ci/cargo-wasi test --target $target --release
165-
# XXX: Upstream bug at https://github.com/rust-lang/rust/issues/132416
166-
# - name: Test with Wasm backend (release)
167-
# run: LITHIUM_BACKEND=wasm ci/cargo-wasi test --target $target --release
168-
# - name: Test with Itanium backend (release)
169-
# run: LITHIUM_BACKEND=itanium ci/cargo-wasi test --target $target --release
170-
# - name: Test with std thread locals (release)
171-
# run: LITHIUM_THREAD_LOCAL=std ci/cargo-wasi test --target $target --release
164+
- name: Test with Wasm backend (release)
165+
run: LITHIUM_BACKEND=wasm ci/cargo-wasi test --target $target --release
166+
- name: Test with Itanium backend (release)
167+
run: LITHIUM_BACKEND=itanium ci/cargo-wasi test --target $target --release
168+
- name: Test with std thread locals (release)
169+
run: LITHIUM_THREAD_LOCAL=std ci/cargo-wasi test --target $target --release
172170

173171
darwin:
174172
timeout-minutes: 5

0 commit comments

Comments
 (0)