-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This settings, when enabled, forces the developer to be explicit about the presence or absence of `main` their program. It is disabled by default but enabled in STRICT mode. In this mode, if you want to build a program without a `main` function you must either build with `--no-entry` or pass a list of EXPORTED_FUNCTIONS the doesn't include `_main`. The reason for adding the extra `--no-entry` option is that this is what `wasm-ld` recommends in its corresponding error message. Its also a lot easier to type than `-s EXPORTED_FUNCTIONS=[]`. This change is a step towards enabling better error reporting from lld by enabling the removal of the `--allow-undefined` option.
- Loading branch information
Showing
5 changed files
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters