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

Add a component-model feature to wat/wast/wasm-encoder #1844

Conversation

alexcrichton
Copy link
Member

I case users want to disable the component model proposal this can be useful to cut down on both binary size and compilation time of these crates themselves. Additionally this helps keep component bits more cleanly separable from the rest of the various bits. Note that the component-model features remains on-by-default.

In case folks depend on these crates but aren't interested in the
component support this enables compiling it all out.
If users are interested it can be used to reduce the compile-time of the
crate and amount of code brought in by removing much of it at compile
time. Support remains enabled by default, however.
@alexcrichton alexcrichton added this pull request to the merge queue Oct 7, 2024
Merged via the queue into bytecodealliance:main with commit a6ea759 Oct 7, 2024
30 checks passed
@alexcrichton alexcrichton deleted the text-and-encoder-component-features branch October 7, 2024 15:39
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