about summary refs log tree commit diff
path: root/tests/codegen/wasm_exceptions.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-20 11:22:59 +0000
committerbors <bors@rust-lang.org>2024-06-20 11:22:59 +0000
commit1aaab8b9f8dc488cadc4f083b3a11fb11b45cb77 (patch)
treebf9ae5334d13d7b36955e3815a3f02c0d5a90151 /tests/codegen/wasm_exceptions.rs
parent1d96de2a20e963abb8923dfa3c6175517dfb9d2c (diff)
parentbb2716effde9713efad15c269b35779a79c90271 (diff)
downloadrust-1aaab8b9f8dc488cadc4f083b3a11fb11b45cb77.tar.gz
rust-1aaab8b9f8dc488cadc4f083b3a11fb11b45cb77.zip
Auto merge of #116088 - nbdd0121:unwind, r=Amanieu,RalfJung
Stabilise `c_unwind`

Fix #74990
Fix #115285 (that's also where FCP is happening)

Marking as draft PR for now due to `compiler_builtins` issues

r? `@Amanieu`
Diffstat (limited to 'tests/codegen/wasm_exceptions.rs')
-rw-r--r--tests/codegen/wasm_exceptions.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codegen/wasm_exceptions.rs b/tests/codegen/wasm_exceptions.rs
index 3910850e03a..719499dd8ea 100644
--- a/tests/codegen/wasm_exceptions.rs
+++ b/tests/codegen/wasm_exceptions.rs
@@ -3,12 +3,12 @@
 
 #![crate_type = "lib"]
 #![feature(core_intrinsics)]
-#![feature(rustc_attrs)]
 
-extern "C" {
+extern "C-unwind" {
     fn may_panic();
+}
 
-    #[rustc_nounwind]
+extern "C" {
     fn log_number(number: usize);
 }