1
0
Fork 0
forked from AbleOS/ableos
ableos/userland/aos_wasm_stress_test/src/main.rs

13 lines
166 B
Rust
Raw Normal View History

2022-01-13 08:54:33 -06:00
#![no_std]
#![no_main]
#![deny(improper_ctypes)]
2022-01-13 08:54:33 -06:00
#[no_mangle]
fn start() -> i32 {
let ret = unsafe { add(1, 2) };
ret as i32
}
2022-01-13 08:54:33 -06:00
2022-02-12 03:25:02 -06:00
use libwasm::syscalls::add;