forked from AbleOS/ableos
13 lines
166 B
Rust
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;
|