mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add rlibc dependency for memset, memcpy, etc.
This commit is contained in:
@@ -5,3 +5,6 @@ authors = ["Philipp Oppermann <dev@phil-opp.com>"]
|
||||
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[dependencies]
|
||||
rlibc = "*"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user