Skip to content

Add support for components#31

Open
andreiltd wants to merge 1 commit into
bytecodealliance:mainfrom
andreiltd:component-support
Open

Add support for components#31
andreiltd wants to merge 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
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.

1 participant