Commit 75a0c0f8 authored by Jeremy Soller's avatar Jeremy Soller

Make oom no_mangle

parent 8f53a483
......@@ -186,6 +186,7 @@ pub extern "C" fn rust_begin_unwind(_msg: core::fmt::Arguments,
}
#[lang = "oom"]
#[no_mangle]
pub extern fn rust_oom() -> ! {
panic!("memory allocation failed");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment