mirror of https://github.com/rust-lang/rust.git
Fix wasm_exceptions test
This commit is contained in:
parent
4c4d62d74f
commit
bb2716effd
|
@ -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…
Reference in New Issue