1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
// Copyright (c) 2020 Alex Chi // // This software is released under the MIT License. // https://opensource.org/licenses/MIT //! User-space library #![no_std] #![feature(global_asm)] pub mod print; pub mod syscall; pub mod constant; mod syscall_internal; use core::panic::PanicInfo; #[panic_handler] fn panic(_info: &PanicInfo) -> ! { loop {} } #[no_mangle] extern "C" fn abort() -> ! { loop { } }