Put keyboard into subdir

This commit is contained in:
Greg Shuflin
2022-01-29 22:39:59 -08:00
parent 01c36c6178
commit c01cbbc458
6 changed files with 20 additions and 3 deletions

14
keyboard/keyboard.rs Normal file
View File

@@ -0,0 +1,14 @@
#![feature(lang_items, start, no_core)]
#![no_core]
#![no_main]
#[no_mangle]
pub extern fn rust_get_int() -> i32 {
return 16;
}
#[lang = "eh_personality"] extern fn eh_personality() {}
#[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} }
#[lang = "sized"] trait Sized {}
#[lang = "copy"] trait Copy {}