jit works

This commit is contained in:
2024-02-02 10:31:13 -08:00
parent 7ebb31b42f
commit 4ba196d2a6
21 changed files with 477 additions and 185 deletions

View File

@@ -119,7 +119,7 @@ extern "C" fn runtime_print(
Ok(ConstantType::U16) => format!("{} = {}u16", reconstituted, value as u16),
Ok(ConstantType::U32) => format!("{} = {}u32", reconstituted, value as u32),
Ok(ConstantType::U64) => format!("{} = {}u64", reconstituted, value as u64),
Err(_) => format!("{} = {}<unknown type>", reconstituted, value),
Err(_) => format!("{} = {}<unknown type {}>", reconstituted, value, vtype_repr),
};
if let Some(output_buffer) = unsafe { output_buffer.as_mut() } {