Files
k-os/crates/apps/hello/src/main.rs
Gabriel Kaszewski 29434805a6 feat(userspace-rt): add runtime crate with entry point, panic handler, and allocator re-export
Snake and hello apps now use extern crate userspace_rt — no more boilerplate assembly or panic handlers in app code.
2026-10-18 04:04:52 +02:00

10 lines
150 B
Rust

#![no_std]
#![no_main]
extern crate userspace_rt;
#[unsafe(no_mangle)]
extern "C" fn main() {
// The runtime handles _start, exit, and panic.
}