diff --git a/crates/wasmtime/src/trap.rs b/crates/wasmtime/src/trap.rs index f248734215..cbd84eac69 100644 --- a/crates/wasmtime/src/trap.rs +++ b/crates/wasmtime/src/trap.rs @@ -363,7 +363,7 @@ impl fmt::Display for Trap { } } if self.inner.hint_wasm_backtrace_details_env { - writeln!(f, "note: run with `WASMTIME_BACKTRACE_DETAILS=1` environment variable to display more information")?; + writeln!(f, "note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information")?; } Ok(()) } diff --git a/tests/all/traps.rs b/tests/all/traps.rs index 32ea3062f7..d2e707b13a 100644 --- a/tests/all/traps.rs +++ b/tests/all/traps.rs @@ -600,7 +600,7 @@ fn hint_with_dwarf_info() -> Result<()> { wasm trap: unreachable wasm backtrace: 0: 0x1a - !start -note: run with `WASMTIME_BACKTRACE_DETAILS=1` environment variable to display more information +note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information " ); Ok(())