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

question: is it possible to further shrink wasm size using wasm-opt? #310

Closed
chaosprint opened this issue Jun 5, 2024 · 3 comments
Closed

Comments

@chaosprint
Copy link

I just got a 1MB sized wasm, which might be too big for my application.

@chaosprint
Copy link
Author

Got answer from @alexcrichton in Zulip that wasm-opt does not support component model for now

@calvinrp
Copy link
Collaborator

calvinrp commented Jun 6, 2024

@chaosprint jco opt subcommand feeds each core Wasm into wasm-opt and then puts it back together as a component.

https://github.com/bytecodealliance/jco/

@chaosprint
Copy link
Author

@chaosprint jco opt subcommand feeds each core Wasm into wasm-opt and then puts it back together as a component.

https://github.com/bytecodealliance/jco/

works like a charm. thank you!

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

No branches or pull requests

2 participants