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
EMTERPRETIFY incompatible with g4 #6724
Comments
Hmm, the underlying issue is that we don't have a way to support source maps with the emterpreter - once we compile to bytecode, the browser can't see it. In theory we could still support non-emterpreted code, but that would be complex to support. Probably we should just show a compiler error on that combination not being supported, I opened #6729 |
Also refactor source map checking code in emcc.py: avoid a constant "4" everywhere, instead use a nice utility function. Adds an error for #6724
We now show an error. Not sure if it's worth it doing anything more here. |
Fine by me. |
Test cases:
and more puzzlingly:
Tested on 1.38.6 / today's incoming.
I already had the issue in 1.38.1, I only narrowed the root cause today.
The text was updated successfully, but these errors were encountered: