We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unreachable
1 parent 6fd0f63 commit 87d19d2Copy full SHA for 87d19d2
crates/core_arch/src/wasm32/mod.rs
@@ -21,6 +21,7 @@ pub use self::memory::*;
21
/// Generates the trap instruction `UNREACHABLE`
22
#[cfg_attr(test, assert_instr(unreachable))]
23
#[inline]
24
+#[stable(feature = "unreachable_wasm32", since = "1.37.0")]
25
pub unsafe fn unreachable() -> ! {
26
crate::intrinsics::abort()
27
}
0 commit comments