Add rlibc dependency for memset, memcpy, etc.

This commit is contained in:
Philipp Oppermann
2015-08-22 13:12:20 +02:00
parent 3c08203437
commit 4c793e6dd9
2 changed files with 5 additions and 0 deletions

View File

@@ -5,3 +5,6 @@ authors = ["Philipp Oppermann <dev@phil-opp.com>"]
[lib]
crate-type = ["staticlib"]
[dependencies]
rlibc = "*"

View File

@@ -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