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

Don't allow legacy settings in strict mode #8261

Merged
merged 1 commit into from
Mar 8, 2019
Merged

Don't allow legacy settings in strict mode #8261

merged 1 commit into from
Mar 8, 2019

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 7, 2019

In strict mode (EMCC_STRICT=1 or -s STRICT) treat any usage
of legacy settings as an error.

We don't even attach the legacy settings in this case so it becomes
impossible to depend on legacy settings.

See #8257

In strict mode (`EMCC_STRICT=1` or `-s STRICT`) treat any usage
of legacy settings as an error.

Also, move SAFE_HEAP and ASM_JS out of legacy settings.  These
settings are still used, they just need to have their values verified.

See #8257
@juj
Copy link
Collaborator

juj commented Apr 12, 2019

I wish we would revert this commit. This broke our use of MINIMAL_RUNTIME, and like we discussed before, it is not really a problem for a toolchain to allow enabling/specifying an option that has become a mandated default, instead it just improves more flexibile compatibility for build systems across Emscripten versions.

@sbc100
Copy link
Collaborator Author

sbc100 commented Apr 15, 2019

Ah yes, I realized this might be a problem and #8411 was intended as the solution.

Hopefully this will mean we can continue to evolve the meaning of STRICT without effecting users of MINIMAL_RUNTIME. At least the is the intention here.

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.

3 participants