From fbc2fc9c5046aa416a8d8f3f39c2720180422c56 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Wed, 5 Dec 2018 23:53:41 -0800 Subject: [PATCH] Make mock func calls non printed in releases --- src/webassembly/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webassembly/instance.rs b/src/webassembly/instance.rs index bf2f00f16..92d1a8c4b 100644 --- a/src/webassembly/instance.rs +++ b/src/webassembly/instance.rs @@ -145,7 +145,7 @@ pub struct InstanceOptions { } extern "C" fn mock_fn() -> i32 { - println!("CALLING MOCKED FUNC"); + debug!("CALLING MOCKED FUNC"); return 0; }