#![no_std] #![no_main] #![deny(improper_ctypes)] #[macro_use] mod libwasm; #[no_mangle] fn start() -> i32 { let ret = unsafe { add(1, 2) }; info!(b"hello"); ret as i32 } use core::panic::PanicInfo; #[panic_handler] fn panic(_info: &PanicInfo) -> ! { loop {} }