From be1e87922cabca8adc2e6e9c54033ef390900937 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 28 Apr 2018 22:08:23 -0600
Subject: [PATCH] Set rust_oom no_mangle

---
 src/panic.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/panic.rs b/src/panic.rs
index 6e915e6d..7c3ead33 100644
--- a/src/panic.rs
+++ b/src/panic.rs
@@ -23,6 +23,7 @@ pub extern "C" fn rust_begin_unwind(fmt: ::core::fmt::Arguments, file: &str, lin
 }
 
 #[lang = "oom"]
+#[no_mangle]
 pub extern fn rust_oom() -> ! {
     panic!("kernel memory allocation failed");
 }
-- 
GitLab