Skip to content

Commit

Permalink
oom lang item now has arity one
Browse files Browse the repository at this point in the history
  • Loading branch information
barzamin committed Jul 25, 2018
1 parent ebd804a commit b821962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alloca.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ unsafe impl GlobalAlloc for Allocator {
/// OOM message
#[lang = "oom"]
#[no_mangle]
pub extern "C" fn oom() -> ! {
pub extern "C" fn oom(_: Layout) -> ! {
panic!("kheap: allocation failed (OOM)");
}

0 comments on commit b821962

Please sign in to comment.