Skip to content

Commit bb2716e

Browse files
committed
Fix wasm_exceptions test
1 parent 4c4d62d commit bb2716e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: tests/assembly/wasm_exceptions.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
#![crate_type = "lib"]
88
#![feature(core_intrinsics)]
9-
#![feature(rustc_attrs)]
109

11-
extern "C" {
10+
extern "C-unwind" {
1211
fn may_panic();
12+
}
1313

14-
#[rustc_nounwind]
14+
extern "C" {
1515
fn log_number(number: usize);
1616
}
1717

Diff for: tests/codegen/wasm_exceptions.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
#![crate_type = "lib"]
55
#![feature(core_intrinsics)]
6-
#![feature(rustc_attrs)]
76

8-
extern "C" {
7+
extern "C-unwind" {
98
fn may_panic();
9+
}
1010

11-
#[rustc_nounwind]
11+
extern "C" {
1212
fn log_number(number: usize);
1313
}
1414

0 commit comments

Comments
 (0)