You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
355 B
19 lines
355 B
#![no_std]
|
|
#![feature(asm)]
|
|
#![feature(alloc)]
|
|
#![feature(lang_items)]
|
|
#![feature(panic_info_message)]
|
|
#![feature(linkage)]
|
|
#![feature(compiler_builtins_lib)]
|
|
|
|
extern crate alloc;
|
|
|
|
#[macro_use]
|
|
pub mod io;
|
|
pub mod syscall;
|
|
pub mod lang_items;
|
|
|
|
use linked_list_allocator::LockedHeap;
|
|
|
|
#[global_allocator]
|
|
static ALLOCATOR: LockedHeap = LockedHeap::empty(); |