Skip to content

Add component WAT support to wat2wasm CLI#301

Merged
MaxDesiatov merged 7 commits intomainfrom
maxd/remove-unused-option
Feb 16, 2026
Merged

Add component WAT support to wat2wasm CLI#301
MaxDesiatov merged 7 commits intomainfrom
maxd/remove-unused-option

Conversation

@MaxDesiatov
Copy link
Member

@MaxDesiatov MaxDesiatov commented Feb 15, 2026

Extends the wat2wasm function and CLI command to support both core modules and CM components. Uses parser-based detection: tries module parsing first, then falls back to component parsing if that fails.

WAVE strings are passed as arguments, not options, `var invoke` options is currently not used at all.
@MaxDesiatov MaxDesiatov changed the title Remove unused option in Run.swift Add component WAT support to wat2wasm CLI Feb 15, 2026
@MaxDesiatov MaxDesiatov marked this pull request as ready for review February 15, 2026 15:46
@MaxDesiatov MaxDesiatov merged commit 252766c into main Feb 16, 2026
22 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/remove-unused-option branch February 16, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants