mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
extern is no longer needed cause macro magic
This commit is contained in:
parent
73a8619bc5
commit
d231d404cb
@ -59,7 +59,7 @@ fn main() -> Result<()> {
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" fn print_num(n: i32, ctx: &mut vm::Ctx) -> i32 {
|
fn print_num(n: i32, ctx: &mut vm::Ctx) -> i32 {
|
||||||
println!("print_num({})", n);
|
println!("print_num({})", n);
|
||||||
|
|
||||||
let memory = ctx.memory(0);
|
let memory = ctx.memory(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user