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

Fix WASM=0 warning in gen_struct_info #8497

Merged
merged 1 commit into from
Apr 27, 2019

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 25, 2019

Also, try to give more meaning errors when embuilder fails.

@sbc100 sbc100 requested a review from kripken April 25, 2019 18:19
tools/shared.py Outdated
@@ -180,9 +180,9 @@ def check_call(cmd, *args, **kw):
try:
return run_process(cmd, *args, **kw)
except subprocess.CalledProcessError as e:
exit_with_error("'%s' failed (%d)", ' '.join(cmd), e.returncode)
exit_with_error("'%s' failed (%d)", ' '.join(e.cmd), e.returncode)
Copy link
Member

Choose a reason for hiding this comment

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

what's the difference between cmd and e.cmd?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nothing really in this case. e.cmd is available whenever you catch this exception. cmd just happens to be a local here too and should be identical.

Also, try to give more meaning errors when embuilder fails.
@sbc100 sbc100 force-pushed the fix_warning_in_gen_struct_info branch from b1d5874 to ddcb6a4 Compare April 26, 2019 23:07
@sbc100 sbc100 merged commit 8385227 into incoming Apr 27, 2019
@sbc100 sbc100 deleted the fix_warning_in_gen_struct_info branch April 27, 2019 00:19
VirtualTim pushed a commit to VirtualTim/emscripten that referenced this pull request May 21, 2019
Also, try to give more meaning errors when embuilder fails.
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
Also, try to give more meaning errors when embuilder fails.
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