16 lines
211 B
Rust
16 lines
211 B
Rust
|
#![no_std]
|
||
|
|
||
|
use core::panic::PanicInfo;
|
||
|
|
||
|
/// This function is called on panic.
|
||
|
#[panic_handler]
|
||
|
fn panic(_info: &PanicInfo) -> ! {
|
||
|
loop {}
|
||
|
}
|
||
|
|
||
|
|
||
|
#[no_mangle]
|
||
|
pub extern "C" fn get_rust_u8() -> u8 {
|
||
|
9
|
||
|
}
|