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 data-wasm-opt-params #901

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

maratik123
Copy link

This fixes #900

@ctron
Copy link
Collaborator

ctron commented Oct 31, 2024

Thanks for the change. It looks good. I'd prefer to have the value stored as Vec<String> though. And do the parsing when retrieving this from the attribute.

@ctron ctron added the enhancement New feature or request label Oct 31, 2024
@maratik123
Copy link
Author

@ctron Done, but the code become more cumbersome

@ctron
Copy link
Collaborator

ctron commented Oct 31, 2024

I'd kept the original let mut args: Vec<&str> = vec![&arg_output, &arg_opt_level, &target_wasm]; … but it works the same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for customizing wasm-opt options
2 participants