alexcrichton opened PR #10780 from alexcrichton:wast-generate-dwarf to bytecodealliance:main:
This commit adds support for the
wastsubcommand to generate DWARF debugging information for the text-to-binary translation that happens. This leans on the support within thewastcrate already and enables more easily seeing where a trap is happening during development of tests due to the fact that line numbers are available as opposed to just having binary offsets with a stack trace.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested fitzgen for a review on PR #10780.
alexcrichton requested wasmtime-core-reviewers for a review on PR #10780.
alexcrichton requested wasmtime-default-reviewers for a review on PR #10780.
alexcrichton updated PR #10780.
alexcrichton closed without merge PR #10780.
alexcrichton commented on PR #10780:
On second thought this is now an on-by-default option, I'm not sure if there's a need to disable it...
alexcrichton reopened PR #10780.
alexcrichton commented on PR #10780:
Oops just realized I closed this by accident...
fitzgen submitted PR review:
Nice
fitzgen merged PR #10780.
Last updated: Dec 06 2025 at 06:05 UTC