Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for loading WebAssembly components #225

Merged
merged 8 commits into from
Oct 3, 2023

Conversation

ereslibre
Copy link
Contributor

@ereslibre ereslibre commented Sep 29, 2023

This adds support for loading WebAssembly modules and components. It also adds components under examples and adds them to the e2e test suite.

Missing bits:

  • Register wasi-nn for components
  • Migrate http wit and register for components

@ereslibre ereslibre force-pushed the module-or-component branch 3 times, most recently from bed0714 to 2885886 Compare September 29, 2023 15:17
@Angelmmiguel Angelmmiguel added this to the v1.6.0 milestone Oct 2, 2023
@Angelmmiguel
Copy link
Contributor

Related to #227

Copy link
Contributor

@Angelmmiguel Angelmmiguel left a comment

Choose a reason for hiding this comment

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

This is a huuuuge effort @ereslibre ! Congratulations for such a complete PR. I'm really happy that wws starts supporting components and regular core modules. This PR will open a new set of possibilities for the project 😄.

I added some minor comments, but everything LGTM!

crates/worker/src/errors.rs Outdated Show resolved Hide resolved
crates/worker/src/io.rs Outdated Show resolved Hide resolved
crates/worker/src/lib.rs Show resolved Hide resolved
@ereslibre ereslibre force-pushed the module-or-component branch 4 times, most recently from 82b6be1 to cc3adca Compare October 2, 2023 18:40
@ereslibre ereslibre marked this pull request as ready for review October 2, 2023 18:41
@ereslibre ereslibre requested a review from a team October 2, 2023 18:42
@ereslibre ereslibre force-pushed the module-or-component branch 5 times, most recently from 7e24b21 to c55543e Compare October 3, 2023 09:47
Copy link
Contributor

@Angelmmiguel Angelmmiguel left a comment

Choose a reason for hiding this comment

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

LGTM! Just added a minor comment 😄

crates/worker/src/stdio.rs Show resolved Hide resolved
examples/Makefile Show resolved Hide resolved
@ereslibre
Copy link
Contributor Author

We can merge on green then, thanks for the reviews and feedback @Angelmmiguel!

@ereslibre ereslibre merged commit c7e1017 into vmware-labs:main Oct 3, 2023
5 checks passed
@ereslibre ereslibre deleted the module-or-component branch October 3, 2023 10:37
@ereslibre ereslibre self-assigned this Oct 3, 2023
@ereslibre ereslibre added the 🚀 enhancement New feature or request label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants