Use debug instead of println for emscripten mocks

This commit is contained in:
Syrus Akbary 2018-11-26 13:21:11 -08:00
parent 9f511f3994
commit 7a2920f75b

View File

@ -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::{} <mock>", stringify!($name));
debug!("emscripten::{} <mock>", stringify!($name));
// return 0
}
$import.set(