-
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
Using -s STRICT
to disable more legacy/compatibility behaviour
#8317
Labels
Comments
sbc100
added a commit
that referenced
this issue
Apr 8, 2019
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of #8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
sbc100
added a commit
that referenced
this issue
Apr 8, 2019
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of #8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
sbc100
added a commit
that referenced
this issue
Apr 8, 2019
sbc100
added a commit
that referenced
this issue
Apr 8, 2019
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of #8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
sbc100
added a commit
that referenced
this issue
Apr 8, 2019
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of #8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
sbc100
added a commit
that referenced
this issue
Apr 9, 2019
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of #8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
sbc100
added a commit
that referenced
this issue
Apr 10, 2019
sbc100
added a commit
that referenced
this issue
May 14, 2019
Also, add a mechanism for supporting renamed settings. This enables users in non-strict mode to use with name for the settings, but users in strict mode can only use the modern name. Part of #8317
sbc100
added a commit
that referenced
this issue
May 15, 2019
Also, add a mechanism for supporting renamed settings. This enables users in non-strict mode to use old name for the settings, but users in strict mode must use the modern name. Part of #8317
VirtualTim
pushed a commit
to VirtualTim/emscripten
that referenced
this issue
May 21, 2019
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of emscripten-core#8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
VirtualTim
pushed a commit
to VirtualTim/emscripten
that referenced
this issue
May 21, 2019
VirtualTim
pushed a commit
to VirtualTim/emscripten
that referenced
this issue
May 21, 2019
…en-core#8601) Also, add a mechanism for supporting renamed settings. This enables users in non-strict mode to use old name for the settings, but users in strict mode must use the modern name. Part of emscripten-core#8317
sbc100
added a commit
that referenced
this issue
Aug 20, 2019
sbc100
added a commit
that referenced
this issue
Aug 21, 2019
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. |
belraquib
pushed a commit
to belraquib/emscripten
that referenced
this issue
Dec 23, 2020
This allows us to add more incompatibility checking to the STRICT option without forcing it on all users or MINIMAL_RUNTIME. This is part of emscripten-core#8317. In particular we already already error on the use legacy settings when in STRICT mode, but I understand that at least on major user (@juj) wants to be able to continue to use legacy command line settings and also wants to use MINIMAL_RUNTIME.
belraquib
pushed a commit
to belraquib/emscripten
that referenced
this issue
Dec 23, 2020
belraquib
pushed a commit
to belraquib/emscripten
that referenced
this issue
Dec 23, 2020
…en-core#8601) Also, add a mechanism for supporting renamed settings. This enables users in non-strict mode to use old name for the settings, but users in strict mode must use the modern name. Part of emscripten-core#8317
belraquib
pushed a commit
to belraquib/emscripten
that referenced
this issue
Dec 23, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?The text was updated successfully, but these errors were encountered: