diff --git a/lib/spectests/examples/simple/main.rs b/lib/spectests/examples/simple/main.rs index 349c19d57..11dac23ba 100644 --- a/lib/spectests/examples/simple/main.rs +++ b/lib/spectests/examples/simple/main.rs @@ -59,7 +59,7 @@ fn main() -> Result<()> { 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); let memory = ctx.memory(0);