From 7a2920f75b3673ad4ff5c49dd5d9a5b40cec8d45 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Mon, 26 Nov 2018 13:21:11 -0800 Subject: [PATCH] Use debug instead of println for emscripten mocks --- src/apis/emscripten/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/emscripten/mod.rs b/src/apis/emscripten/mod.rs index 05d5e952c..062edbf51 100644 --- a/src/apis/emscripten/mod.rs +++ b/src/apis/emscripten/mod.rs @@ -58,7 +58,7 @@ pub fn emscripten_set_up_memory(memory: &mut LinearMemory) { macro_rules! mock_external { ($import:ident, $name:ident) => {{ fn _mocked_fn() { - println!("emscripten::{} ", stringify!($name)); + debug!("emscripten::{} ", stringify!($name)); // return 0 } $import.set(