Skip to content

Commit ceacfdf

Browse files
committed
update changelog
1 parent f2db899 commit ceacfdf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ See docs/process.md for more on how version tagging works.
2020

2121
3.1.58 (in development)
2222
-----------------------
23+
- The `-sMAIN_MODULE=1` mode no longer exports all the main module symbols on
24+
`Module` object. This saves a huge about of generated JS code due the fact
25+
that `-sMAIN_MODULE=1` includes *all* native symbols in your program as well
26+
is from the standard library. The generated JS code for a simple program
27+
in this mode is reduced from from 3.3mb to 0.5mb. The current implementation
28+
of this feature requires wasm-ld to be on the program twice which could have a
29+
noticeable effect on link times. (#21785)
2330
- In `-sMODULARIZE` mode, the argument passed into the module constructor is
2431
no longer mutated in place. The expectation is that the module instance will
2532
be available via the constructor return value. Attempting to access methods

0 commit comments

Comments
 (0)