Skip to content

Commit

Permalink
Fix wasm_exceptions test
Browse files Browse the repository at this point in the history
  • Loading branch information
nbdd0121 committed Jun 19, 2024
1 parent 4c4d62d commit bb2716e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/assembly/wasm_exceptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down
6 changes: 3 additions & 3 deletions tests/codegen/wasm_exceptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,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);
}

Expand Down

0 comments on commit bb2716e

Please sign in to comment.