Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ def phase_linker_setup(options, state): # noqa: C901, PLR0912, PLR0915
else:
# Otherwise the wasm file is produced alongside the final target.
wasm_target = get_secondary_target(target, '.wasm')
if final_suffix in EXECUTABLE_ENDINGS:
options.executable = True

if settings.SAFE_HEAP not in [0, 1, 2]:
exit_with_error('emcc: SAFE_HEAP must be 0, 1 or 2')
Expand Down