rust/tests/run-make/issue-69368/b.rs

9 lines
160 B
Rust
Raw Normal View History

#![crate_type = "rlib"]
#![feature(alloc_error_handler)]
#![no_std]
#[alloc_error_handler]
pub fn error_handler(_: core::alloc::Layout) -> ! {
panic!();
}