lib.rs 213 B

1234567891011
  1. //! This is needed for tests on targets that require a `#[panic_handler]` function
  2. #![feature(no_core)]
  3. #![no_core]
  4. extern crate core;
  5. #[panic_handler]
  6. fn panic(_: &core::panic::PanicInfo) -> ! {
  7. loop {}
  8. }