mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
f54dbe6e31
This reverts commit abc0660118
.
9 lines
160 B
Rust
9 lines
160 B
Rust
#![crate_type = "rlib"]
|
|
#![feature(alloc_error_handler)]
|
|
#![no_std]
|
|
|
|
#[alloc_error_handler]
|
|
pub fn error_handler(_: core::alloc::Layout) -> ! {
|
|
panic!();
|
|
}
|