Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 committed Apr 18, 2024
1 parent f2db899 commit ceacfdf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ See docs/process.md for more on how version tagging works.

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

0 comments on commit ceacfdf

Please sign in to comment.