Fix wasm_exceptions test
This commit is contained in:
parent
4c4d62d74f
commit
bb2716effd
@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![feature(core_intrinsics)]
|
#![feature(core_intrinsics)]
|
||||||
#![feature(rustc_attrs)]
|
|
||||||
|
extern "C-unwind" {
|
||||||
|
fn may_panic();
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn may_panic();
|
|
||||||
|
|
||||||
#[rustc_nounwind]
|
|
||||||
fn log_number(number: usize);
|
fn log_number(number: usize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
|
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![feature(core_intrinsics)]
|
#![feature(core_intrinsics)]
|
||||||
#![feature(rustc_attrs)]
|
|
||||||
|
extern "C-unwind" {
|
||||||
|
fn may_panic();
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn may_panic();
|
|
||||||
|
|
||||||
#[rustc_nounwind]
|
|
||||||
fn log_number(number: usize);
|
fn log_number(number: usize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user