Skip to content

Commit

Permalink
Add back in unsafe for bootstrapping
Browse files Browse the repository at this point in the history
And add an `#[allow]` for now to appease stage0
  • Loading branch information
alexcrichton committed May 29, 2020
1 parent d3efbd2 commit d837cce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
#[cfg(test)]
extern crate core;

#[allow(unused_unsafe)]
fn abort() -> ! {
core::intrinsics::abort()
unsafe { core::intrinsics::abort() }
}

#[macro_use]
Expand Down

0 comments on commit d837cce

Please sign in to comment.