Skip to content

Minor updates/improvements to wast subcommand#13309

Open
alexcrichton wants to merge 1 commit intobytecodealliance:mainfrom
alexcrichton:wast-additions
Open

Minor updates/improvements to wast subcommand#13309
alexcrichton wants to merge 1 commit intobytecodealliance:mainfrom
alexcrichton:wast-additions

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

  • Add --ignore-error-messages as a CLI flag instead of only looking for "spec_testsuite" in the path of tests. Do some plumbing to ensure all spec tests, even component model ones, ignore error messages due to divergences over time. This "fixes" two upstream tests as Wasmtime rejects them due to an error message.

  • Auto-enabled backtrace details to get printed out when DWARF information is emitted. There's not really any purpose in emitting DWARF and then not using it, and the backtrace looks much nicer by default. This gives line numbers in backtraces for wast files by default, which is a nice perk.

* Add `--ignore-error-messages` as a CLI flag instead of only looking
  for "spec_testsuite" in the path of tests. Do some plumbing to ensure
  all spec tests, even component model ones, ignore error messages due
  to divergences over time. This "fixes" two upstream tests as Wasmtime
  rejects them due to an error message.

* Auto-enabled backtrace details to get printed out when DWARF
  information is emitted. There's not really any purpose in emitting
  DWARF and then not using it, and the backtrace looks much nicer by
  default. This gives line numbers in backtraces for `wast` files by
  default, which is a nice perk.
@alexcrichton alexcrichton requested a review from a team as a code owner May 6, 2026 21:34
@alexcrichton alexcrichton requested review from a team, cfallin and dicej and removed request for a team and dicej May 6, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants