diff --git a/Cargo.toml b/Cargo.toml index 3e2ae567..872dd9b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,6 @@ authors = ["Philipp Oppermann "] [lib] crate-type = ["staticlib"] + +[dependencies] +rlibc = "*" diff --git a/src/lib.rs b/src/lib.rs index 196469ef..395d695c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,6 +15,8 @@ #![feature(no_std, lang_items)] #![no_std] +extern crate rlibc; + #[no_mangle] pub extern fn main() { // ATTENTION: we have a very small stack and no guard page