From d231d404cb668e094ad4dc23e80ab987a142fc37 Mon Sep 17 00:00:00 2001 From: Mackenzie Clark Date: Mon, 4 Feb 2019 15:01:28 -0800 Subject: [PATCH] extern is no longer needed cause macro magic --- lib/spectests/examples/simple/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);