c test program

This commit is contained in:
nora 2023-09-30 10:54:59 +02:00
parent 54e0e7604e
commit 1baf8df4a8
18 changed files with 150 additions and 68 deletions

6
rawc/src/stdio.rs Normal file
View file

@ -0,0 +1,6 @@
use core::ffi::c_char;
#[no_mangle]
pub unsafe extern "C" fn puts(s: *const c_char) -> i32 {
libuwuc::io::puts(s)
}