-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Conversation
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) |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
b1d5874
to
ddcb6a4
Compare
Also, try to give more meaning errors when embuilder fails.
This reverts commit 8d3b178.
This reverts commit 8d3b178.
Also, try to give more meaning errors when embuilder fails.
Also, try to give more meaning errors when embuilder fails.