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

use the latest wasm-opt by default #967

Closed

Conversation

Madoshakalaka
Copy link

@Madoshakalaka Madoshakalaka commented Mar 27, 2025

trunk --release seems to often fail because of wasm-opt failures (#904)

Always using the latest wasm-opt (while allowing the user to override a specific version) seems a good idea.

In particular, when I tried with rustc 1.87.0-nightly and wasm-opt version 122 or 123, the data-wasm-opt-params="--enable-bulk-memory" workaround in #904 seems unnecessary.

@ctron
Copy link
Collaborator

ctron commented Mar 27, 2025

Thanks for the PR. I feel that this makes the behavior pretty unpredictable. It also might add all kinds of issues with GitHub rate limiting.

However, maybe we can turn this around into explicitly opting-in to this behavior by allow the user to use latest as a version, and then look up the version?

@Madoshakalaka
Copy link
Author

makes sense. I'll make the change later

@Madoshakalaka Madoshakalaka deleted the use-latest-wasm-opt branch April 8, 2025 15:02
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