Improved debug statements

This commit is contained in:
Syrus Akbary
2018-11-13 17:21:03 -08:00
parent fa24424126
commit aba907cbc4
4 changed files with 5 additions and 20 deletions

View File

@ -185,7 +185,7 @@ impl Instance {
func_context
.compile_and_emit(&*isa, &mut code_buf, &mut reloc_sink, &mut trap_sink)
.map_err(|e| {
println!("CompileError: {}", e.to_string());
debug!("CompileError: {}", e.to_string());
ErrorKind::CompileError(e.to_string())
})?;
// We set this code_buf to be readable & executable