Skip to content
Snippets Groups Projects
Commit 3b0c897f authored by Per's avatar Per
Browse files

first commit

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #223 failed
/target
**/*.rs.bk
Cargo.lock
[package]
name = "panic-klee"
version = "0.1.0"
authors = ["pln <Per Lindgren>"]
edition = "2018"
[dependencies]
#![no_std]
#[cfg(not(test))] // avoid warning duplicate lang-item
#[panic_handler]
#[inline(never)]
fn panic(_info: &core::panic::PanicInfo) -> ! {
// abort symbol caught by LLVM-KLEE
unsafe { abort() }
}
extern "C" {
#[inline(always)]
pub fn abort() -> !;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment