Fix wasm_exceptions test
This commit is contained in:
parent
4c4d62d74f
commit
bb2716effd
2 changed files with 8 additions and 8 deletions
|
@ -6,12 +6,12 @@
|
|||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
extern "C-unwind" {
|
||||
fn may_panic();
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
fn may_panic();
|
||||
|
||||
#[rustc_nounwind]
|
||||
fn log_number(number: usize);
|
||||
}
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
extern "C-unwind" {
|
||||
fn may_panic();
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
fn may_panic();
|
||||
|
||||
#[rustc_nounwind]
|
||||
fn log_number(number: usize);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue