Skip to content

fix(wash-runtime): enable component-model feature for wat in dev-dependencies (#299) - #300

Merged
lxfontes merged 1 commit into
wasmCloud:mainfrom
jtakakura:fix/wash-runtime-test-wat-component-model
Mar 9, 2026
Merged

fix(wash-runtime): enable component-model feature for wat in dev-dependencies (#299)#300
lxfontes merged 1 commit into
wasmCloud:mainfrom
jtakakura:fix/wash-runtime-test-wat-component-model

Conversation

@jtakakura

@jtakakura jtakakura commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Fixes issue wasmCloud/wasmCloud#4933.

The wat crate was declared in the workspace with default-features = false, which disables component parsing support.
Two tests in wash-runtime use wat::parse_str with (component ...) syntax and panicked at runtime:

  • host::tests::test_extract_component_interfaces_with_http_export
  • host::tests::test_extract_component_interfaces_no_interfaces

Adding features = ["component-model"] to wat in wash-runtime's dev-dependencies fixes both failures.

…ndencies (#299)

Signed-off-by: Junji Takakura <j.takakura@gmail.com>
@jtakakura
jtakakura requested a review from a team as a code owner March 7, 2026 05:45
@lxfontes
lxfontes added this pull request to the merge queue Mar 9, 2026
Merged via the queue into wasmCloud:main with commit 062805b Mar 9, 2026
9 checks passed
@jtakakura
jtakakura deleted the fix/wash-runtime-test-wat-component-model branch March 9, 2026 15:13
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