ableos/userland/aos_wasm_stress_test/src/main.rs
2022-02-12 03:25:02 -06:00

13 lines
166 B
Rust

#![no_std]
#![no_main]
#![deny(improper_ctypes)]
#[no_mangle]
fn start() -> i32 {
let ret = unsafe { add(1, 2) };
ret as i32
}
use libwasm::syscalls::add;