about summary refs log tree commit diff
path: root/tests/codegen/wasm_exceptions.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-01-30 12:45:35 +0100
committerGitHub <noreply@github.com>2025-01-30 12:45:35 +0100
commitd7668d8bf4e6d82da8059cd0c6efecdfd249f27a (patch)
tree501a78b2655278bf450b0d07df283b87f1e22e4e /tests/codegen/wasm_exceptions.rs
parentaab61ad663e3a3b942f99119ba84d38b8122f8f8 (diff)
parent644e527c17a1b53e60a346cce7b6b32d97b9d10d (diff)
downloadrust-d7668d8bf4e6d82da8059cd0c6efecdfd249f27a.tar.gz
rust-d7668d8bf4e6d82da8059cd0c6efecdfd249f27a.zip
Rollup merge of #136199 - purplesyringa:emscripten-tests, r=jieyouxu
Fix a couple Emscripten tests

This fixes a couple Emscripten tests where the correct fix is more or less obvious. A couple UI tests are still broken with this PR:

- `tests/ui/abi/numbers-arithmetic/return-float.rs` (#136197)
- `tests/ui/no_std/no-std-unwind-binary.rs` (haven't debugged yet)
- `tests/ui/test-attrs/test-passed.rs` (haven't debugged this either)

`````@rustbot````` label +T-compiler +O-emscripten
Diffstat (limited to 'tests/codegen/wasm_exceptions.rs')
-rw-r--r--tests/codegen/wasm_exceptions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/wasm_exceptions.rs b/tests/codegen/wasm_exceptions.rs
index 719499dd8ea..07b8ae6e9d7 100644
--- a/tests/codegen/wasm_exceptions.rs
+++ b/tests/codegen/wasm_exceptions.rs
@@ -1,5 +1,5 @@
 //@ only-wasm32
-//@ compile-flags: -C panic=unwind
+//@ compile-flags: -C panic=unwind -Z emscripten-wasm-eh
 
 #![crate_type = "lib"]
 #![feature(core_intrinsics)]