Add back in unsafe for bootstrapping
And add an `#[allow]` for now to appease stage0
This commit is contained in:
parent
843c2261a9
commit
e4293adbe1
1 changed files with 2 additions and 1 deletions
|
|
@ -30,8 +30,9 @@
|
|||
#[cfg(test)]
|
||||
extern crate core;
|
||||
|
||||
#[allow(unused_unsafe)]
|
||||
fn abort() -> ! {
|
||||
core::intrinsics::abort()
|
||||
unsafe { core::intrinsics::abort() }
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue