This commit is contained in:
nora 2023-09-29 20:17:35 +02:00
commit 8a033fc3df
14 changed files with 197 additions and 0 deletions

17
example-user/src/main.rs Normal file
View file

@ -0,0 +1,17 @@
#![cfg_attr(not(test), no_std)]
#![no_main]
use core::ffi::c_char;
extern crate libuwuc;
#[panic_handler]
#[cfg(not(test))]
fn handler(_arg: &core::panic::PanicInfo) -> ! {
loop {}
}
#[no_mangle]
extern "C" fn main(_argc: i32, _argv: *const *const c_char) -> i32 {
0
}