49
49
50
50
// Tuning
51
51
52
- // Whether we should add runtime assertions, for example to
53
- // check that each allocation to the stack does not
54
- // exceed its size, whether all allocations (stack and static) are
55
- // of positive size, etc., whether we should throw if we encounter a bad __label__, i.e.,
56
- // if code flow runs into a fault
52
+ // Whether we should add runtime assertions. This affects both JS and how
53
+ // system libraries are built.
57
54
// ASSERTIONS == 2 gives even more runtime checks, that may be very slow. That
58
- // includes internal dlmalloc assertions.
55
+ // includes internal dlmalloc assertions, for example .
59
56
// [link]
60
57
var ASSERTIONS = 1 ;
61
58
@@ -1732,6 +1729,7 @@ var AUTO_NATIVE_LIBRARIES = true;
1732
1729
// are desired to work. Pass -sMIN_FIREFOX_VERSION=majorVersion to drop support
1733
1730
// for Firefox versions older than < majorVersion.
1734
1731
// Firefox ESR 60.5 (Firefox 65) was released on 2019-01-29.
1732
+ // MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
1735
1733
// [link]
1736
1734
var MIN_FIREFOX_VERSION = 65 ;
1737
1735
@@ -1742,26 +1740,29 @@ var MIN_FIREFOX_VERSION = 65;
1742
1740
// NOTE: Emscripten is unable to produce code that would work in iOS 9.3.5 and
1743
1741
// older, i.e. iPhone 4s, iPad 2, iPad 3, iPad Mini 1, Pod Touch 5 and older,
1744
1742
// see https://github.com/emscripten-core/emscripten/pull/7191.
1743
+ // MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
1745
1744
// [link]
1746
1745
var MIN_SAFARI_VERSION = 120000 ;
1747
1746
1748
1747
// Specifies the oldest version of Internet Explorer to target. E.g. pass -s
1749
1748
// MIN_IE_VERSION = 11 to drop support for IE 10 and older.
1750
1749
// Internet Explorer is at end of life and does not support WebAssembly.
1751
- // MAX_INT (0x7FFFFFFF) specifies that target is not supported.
1750
+ // MAX_INT (0x7FFFFFFF, or -1 ) specifies that target is not supported.
1752
1751
// [link]
1753
1752
var MIN_IE_VERSION = 0x7FFFFFFF ;
1754
1753
1755
1754
// Specifies the oldest version of Edge (EdgeHTML, the non-Chromium based
1756
1755
// flavor) to target. E.g. pass -sMIN_EDGE_VERSION=40 to drop support for
1757
1756
// EdgeHTML 39 and older.
1758
1757
// Edge 44.17763 was released on November 13, 2018
1758
+ // MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
1759
1759
// [link]
1760
1760
var MIN_EDGE_VERSION = 44 ;
1761
1761
1762
1762
// Specifies the oldest version of Chrome. E.g. pass -sMIN_CHROME_VERSION=58 to
1763
1763
// drop support for Chrome 57 and older.
1764
1764
// Chrome 75.0.3770 was released on 2019-06-04
1765
+ // MAX_INT (0x7FFFFFFF, or -1) specifies that target is not supported.
1765
1766
// [link]
1766
1767
var MIN_CHROME_VERSION = 75 ;
1767
1768
0 commit comments