Skip to content

Commit d837cce

Browse files
committed
Add back in unsafe for bootstrapping
And add an `#[allow]` for now to appease stage0
1 parent d3efbd2 commit d837cce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
#[cfg(test)]
3131
extern crate core;
3232

33+
#[allow(unused_unsafe)]
3334
fn abort() -> ! {
34-
core::intrinsics::abort()
35+
unsafe { core::intrinsics::abort() }
3536
}
3637

3738
#[macro_use]

0 commit comments

Comments
 (0)