Skip to content

Add support for components#31

Merged
cfallin merged 1 commit into
bytecodealliance:mainfrom
andreiltd:component-support
Jul 22, 2026
Merged

Add support for components#31
cfallin merged 1 commit into
bytecodealliance:mainfrom
andreiltd:component-support

Conversation

@andreiltd

Copy link
Copy Markdown
Member

This follows Wizer's component rewrite implementation: https://github.com/bytecodealliance/wasmtime/blob/v46.0.1/crates/wizer/src/component/rewrite.rs

In preparataion for refactoring to lib/cli split I moved the core module code to module.rs and all the component related code lives in component.rs file.

The smoke test now also verifies end-to-end component pipeline. Additionaly I ran manually few wat components from wizer tests, e.g.: https://github.com/bytecodealliance/wasmtime/blob/main/crates/wizer/tests/all/component.rs#L378

This follows Wizer's component rewrite implementation:
https://github.com/bytecodealliance/wasmtime/blob/v46.0.1/crates/wizer/src/component/rewrite.rs

In preparataion for refactoring to lib/cli split I moved the core module
code to module.rs and all the component related code lives in
component.rs file.

The smoke test now also verifies end-to-end component pipeline.
Additionaly I ran manually few wat components from wizer tests, e.g.: https://github.com/bytecodealliance/wasmtime/blob/main/crates/wizer/tests/all/component.rs#L378

@cfallin cfallin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great -- thanks very much!

@cfallin
cfallin merged commit 38f1676 into bytecodealliance:main Jul 22, 2026
11 checks passed
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