about summary refs log tree commit diff
path: root/tests/assembly/wasm_exceptions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assembly/wasm_exceptions.rs')
-rw-r--r--tests/assembly/wasm_exceptions.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/assembly/wasm_exceptions.rs b/tests/assembly/wasm_exceptions.rs
index 7bdf7f1287c..f05ccfadc58 100644
--- a/tests/assembly/wasm_exceptions.rs
+++ b/tests/assembly/wasm_exceptions.rs
@@ -6,12 +6,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);
 }