alexcrichton opened PR #11677 from alexcrichton:run-cm-spec-tests to bytecodealliance:main:
This adds a new submodule like WebAssembly/testsuite for the component-model spec tests and runs the
*.wasttests on all changes. There are two currently failing tests which are relegated to #11675 and #11676 for now.<!--
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 dicej for a review on PR #11677.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11677.
alexcrichton requested wasmtime-default-reviewers for a review on PR #11677.
alexcrichton commented on PR #11677:
cc @lukewagner on this as you're likely interested (no action needed though, just making you aware)
lukewagner commented on PR #11677:
Awesome! FWIW, outside the
tests/asyncdirectory there's also a few scattered (but probably growing over time) tests intests/resourcesandtests/values. There is one (expected, until CM/#531 is implemented) remaining failure intests/values/trap-in-post-return.wast.
FYI, I've copied some of those tests into
tests/misc_testsuite/component-model-async/, so we'll want to remove the copies now that they're redundant.
alexcrichton updated PR #11677.
lukewagner commented on PR #11677:
Oops, I see
tests/valuesandtests/resourcesare already included and I just misread #11676. Carry on!
alexcrichton updated PR #11677.
alexcrichton updated PR #11677.
alexcrichton commented on PR #11677:
The most recent test failure surfaced the fact that Winch doesn't support component-model-async since fused adapters may use
ref.funcwhich is unimplemented in Winch, so I've listed that in the list of features that Winch doesn't support and updated test expectations accordingly
dicej submitted PR review.
alexcrichton merged PR #11677.
Last updated: Dec 06 2025 at 06:05 UTC