sunfishcode opened PR #3568 from sunfishcode/unreachable-message
to main
:
Following up on WebAssembly/wasi-sdk#210, this makes the trap message
forunreachable
traps more descriptive of what actually caused the
trap, so that it doesn't sound like maybe Wasmtime itself executed a
unreachable!()
macro in Rust.Before:
wasm trap: unreachable wasm backtrace: [...]
After:
wasm trap: wasm `unreachable` instruction executed wasm backtrace: [...]
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
alexcrichton submitted PR review.
sunfishcode merged PR #3568.
Last updated: Dec 23 2024 at 12:05 UTC