fix typo in hint about WASMTIME_BACKTRACE_DETAILS env var (#5443)
* fix typo in hint about WASMTIME_BACKTRACE_DETAILS env var * Update traps.rs
This commit is contained in:
@@ -389,7 +389,7 @@ impl fmt::Display for WasmBacktrace {
|
||||
}
|
||||
}
|
||||
if self.hint_wasm_backtrace_details_env {
|
||||
write!(f, "\nnote: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information")?;
|
||||
write!(f, "\nnote: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information")?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -790,7 +790,7 @@ fn hint_with_dwarf_info() -> Result<()> {
|
||||
"\
|
||||
error while executing at wasm backtrace:
|
||||
0: 0x1a - <unknown>!start
|
||||
note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable to may show more debugging information
|
||||
note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information
|
||||
|
||||
Caused by:
|
||||
wasm trap: wasm `unreachable` instruction executed\
|
||||
|
||||
Reference in New Issue
Block a user