diff --git a/src/main.rs b/src/main.rs index b870494..f224d77 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,14 +52,14 @@ extern "C" fn start() -> ! { unsafe { heap::init() }; // Now we're free to use dynamic allocation! - { - extern crate alloc; - use alloc::boxed::Box; - let _my_heap_pointer = Box::new(10); - // _my_heap_pointer lives on the heap! - } + // { + // extern crate alloc; + // use alloc::boxed::Box; + // let _my_heap_pointer = Box::new(10); + // // _my_heap_pointer lives on the heap! + // } - println!("This should not print because the console is not initialised."); + // println!("This should not print because the console is not initialised."); unsafe { uart::init_console(0x1000_0000) }; println!("Hello, world!");