irid-std 0.3.1

A replacement for std when running without a filesystem on the irid kernel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use core::panic::PanicInfo;

use irid_syscall::ffi::thread::syscall_exit;

use crate::eprintln;

#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
    eprintln!("{info}");

    syscall_exit(101)
}