checkpoint in reconstruction
This commit is contained in:
@@ -110,6 +110,7 @@ extern "C" fn runtime_print(
|
||||
let reconstituted = cstr.to_string_lossy();
|
||||
|
||||
let output = match vtype_repr.try_into() {
|
||||
Ok(ConstantType::Void) => format!("{} = <void>", reconstituted),
|
||||
Ok(ConstantType::I8) => format!("{} = {}i8", reconstituted, value as i8),
|
||||
Ok(ConstantType::I16) => format!("{} = {}i16", reconstituted, value as i16),
|
||||
Ok(ConstantType::I32) => format!("{} = {}i32", reconstituted, value as i32),
|
||||
|
||||
Reference in New Issue
Block a user