load elf file

This commit is contained in:
2025-08-01 21:32:35 -06:00
parent 6203392407
commit aa00e9728d
2 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +1,14 @@
fn main() {
println!("Hello, world!");
#![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() {
loop {}
}