Skip to content
Merged
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: 1 addition & 1 deletion tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -1959,6 +1959,7 @@ def run_embind_gen(options, wasm_target, js_syms, extra_settings):
# Force node since that is where the tool runs.
if 'node' not in settings.ENVIRONMENT:
settings.ENVIRONMENT.append('node')
settings.MIN_NODE_VERSION = feature_matrix.OLDEST_SUPPORTED_NODE
settings.MINIMAL_RUNTIME = 0
# Required function to trigger TS generation.
settings.DEFAULT_LIBRARY_FUNCS_TO_INCLUDE += ['$callRuntimeCallbacks', '$addRunDependency', '$removeRunDependency']
Expand All @@ -1979,7 +1980,6 @@ def run_embind_gen(options, wasm_target, js_syms, extra_settings):
dirname, basename = os.path.split(lib)
if basename == 'libembind.js':
settings.JS_LIBRARIES[i] = os.path.join(dirname, 'libembind_gen.js')
settings.MIN_NODE_VERSION = 160000 if settings.MEMORY64 else 150000
# The final version of the memory64 proposal is not implemented until node
# v24, so we need to lower it away in order to execute the binary at build
# time.
Expand Down
Loading