Browse Source

Add back in unsafe for bootstrapping

And add an `#[allow]` for now to appease stage0
master
Alex Crichton 1 year ago
parent
commit
d837cce3d3
  1. 3
      src/lib.rs

3
src/lib.rs

@ -30,8 +30,9 @@
#[cfg(test)]
extern crate core;
#[allow(unused_unsafe)]
fn abort() -> ! {
core::intrinsics::abort()
unsafe { core::intrinsics::abort() }
}
#[macro_use]

Loading…
Cancel
Save