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

Check wasm optimized output file exists #243

Merged
merged 4 commits into from
Mar 30, 2021
Merged

Conversation

ascjones
Copy link
Collaborator

Possible improvement for the source of this error message here:

image

Suspect that the installed version of wasm-opt runs but doesn't produce the output file as expected.

I haven't reproduced it because my installation of wasm-opt is valid and produces a optimized file, however this is a useful check to make anyway, since we have no guarantees that do_optimization will write the optimized wasm fle.

src/cmd/build.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@cmichi cmichi left a comment

Choose a reason for hiding this comment

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

LGTM!

@ascjones ascjones merged commit b5a1b0d into master Mar 30, 2021
@ascjones ascjones deleted the aj-check-optimized branch March 30, 2021 11:16
@cmichi cmichi mentioned this pull request Mar 31, 2021
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