Delete bin.rs

This commit is contained in:
Mark McCaskey
2019-04-27 09:21:31 -07:00
committed by GitHub
parent ef3996a1c8
commit 18e6216b70

View File

@ -1,14 +0,0 @@
extern "C" {
fn it_works() -> i32;
}
#[no_mangle]
pub fn plugin_entrypoint(n: i32) -> i32 {
println!("It works from inside WASI");
let result = unsafe { it_works() };
result + n
}
pub fn main() {
println!("hello");
}