load elf file

This commit is contained in:
sawyer committed 2025-08-01 21:32:35 -06:00
1 parent 6203392407
commit aa00e9728d
2 files changed
+22 -9

No files matched your search

+12 -1
View File
@@ -1,3 +1,14 @@
#![no_std]
#![no_main]
use core::panic::PanicInfo;
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {} // or call your ABI trap, or `abort()`
}
#[unsafe(no_mangle)]
fn main() {
println!("Hello, world!");
loop {}
}