You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using -s STRICT to disable more legacy/compatibility behaviour #8317
Starting with #8261 I've been looking at disabling legacy / compatibility behaviour in s STRICT mode.
I hope to using this as a way to evolve the toolchain while at the same time allowing users who want backwards compatibility to continue as normal. This seems like a good match for what strict means in JS. i.e. dis-allow some old stuff and force me to use some new stuff.
I wanted to raise this with @juj after our discussion about backwards compatibility on #8034. I noticed that -s MINIMAL_RUNTIME currently implies -s STRICT. Perhaps we want to separate these two if -s STRICT is going to continue to gain more significance?
I looks like - STRICT=1 has also come to mean "don't include all default JS libraries", and perhaps that is why MINIMAL_RUNTIME defines -s STRICT? Perhaps we want to separate out that settings with some kind of new setting which means something like "NO_AUTO_LIBS".. perhaps we could also have it apply the native libraries too?
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
Activity
Separate STRICT from MINIMAL_RUNTIME
Separate STRICT from MINIMAL_RUNTIME
DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR in STRICT mode
Separate STRICT from MINIMAL_RUNTIME
Separate STRICT from MINIMAL_RUNTIME
Separate STRICT from MINIMAL_RUNTIME (#8411)
DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR in STRICT mode (#8413)
Rename BINARYEN_ASYNC_COMPILATION -> WASM_ASYNC_COMPILATION
Rename BINARYEN_ASYNC_COMPILATION -> WASM_ASYNC_COMPILATION (#8601)
Separate STRICT from MINIMAL_RUNTIME (emscripten-core#8411)
DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR in STRICT mode (emscrip…
Rename BINARYEN_ASYNC_COMPILATION -> WASM_ASYNC_COMPILATION (emscript…
Add 'use strict' to generated JS when `-s STRICT` is used
Add 'use strict' to generated JS when `-s STRICT` is used (#9265)
stale commentedon Mar 19, 2020
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
Separate STRICT from MINIMAL_RUNTIME (emscripten-core#8411)
DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR in STRICT mode (emscrip…
Rename BINARYEN_ASYNC_COMPILATION -> WASM_ASYNC_COMPILATION (emscript…
Add 'use strict' to generated JS when `-s STRICT` is used (emscripten…