Create a minimal bare-bones executable

This commit is contained in:
Philipp Oppermann
2021-02-23 10:13:42 +01:00
parent 5d080de9ff
commit 19b2373982

View File

@@ -1,3 +1,9 @@
fn main() { #![no_std]
println!("Hello, world!"); #![no_main]
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {}
} }