feat: минимальный независимый бинарь

This commit is contained in:
ilya 2026-09-17 10:20:01 +03:00
parent 8f4fc94235
commit 322d0a0406

14
src/main.rs Normal file
View file

@ -0,0 +1,14 @@
#![no_std]
#![no_main]
use core::panic::PanicInfo;
#[unsafe(no_mangle)]
pub extern "C" fn _start() -> ! {
loop {}
}
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {}
}