Skip to content
Snippets Groups Projects
Commit be1e8792 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Set rust_oom no_mangle

parent 48007b8f
No related branches found
No related tags found
No related merge requests found
...@@ -23,6 +23,7 @@ pub extern "C" fn rust_begin_unwind(fmt: ::core::fmt::Arguments, file: &str, lin ...@@ -23,6 +23,7 @@ pub extern "C" fn rust_begin_unwind(fmt: ::core::fmt::Arguments, file: &str, lin
} }
#[lang = "oom"] #[lang = "oom"]
#[no_mangle]
pub extern fn rust_oom() -> ! { pub extern fn rust_oom() -> ! {
panic!("kernel memory allocation failed"); panic!("kernel memory allocation failed");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment