Skip to content

Commit 87d19d2

Browse files
pepyakingnzlbg
authored andcommitted
Stabilize unreachable.
1 parent 6fd0f63 commit 87d19d2

File tree

1 file changed

+1
-0
lines changed
  • crates/core_arch/src/wasm32

1 file changed

+1
-0
lines changed

crates/core_arch/src/wasm32/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub use self::memory::*;
2121
/// Generates the trap instruction `UNREACHABLE`
2222
#[cfg_attr(test, assert_instr(unreachable))]
2323
#[inline]
24+
#[stable(feature = "unreachable_wasm32", since = "1.37.0")]
2425
pub unsafe fn unreachable() -> ! {
2526
crate::intrinsics::abort()
2627
}

0 commit comments

Comments
 (0)