mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
wasm_interp: Fix parse error hex formatting
This commit is contained in:
parent
73ede61cb1
commit
d9a8c6f64c
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ fn main() -> io::Result<()> {
|
|||
let module = match WasmModule::preload(&arena, &module_bytes, require_relocatable) {
|
||||
Ok(m) => m,
|
||||
Err(e) => {
|
||||
eprintln!("I couldn't parse this WebAssembly module! There's something wrong at byte offset 0x{}.", e.offset);
|
||||
eprintln!("I couldn't parse this WebAssembly module! There's something wrong at byte offset {:#x}.", e.offset);
|
||||
eprintln!("{}", e.message);
|
||||
eprintln!("If you think this could be a code generation problem in the Roc compiler, see crates/compiler/gen_wasm/README.md for debugging tips.");
|
||||
process::exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue