diff --git a/tools/link.py b/tools/link.py index 933cef3ea344f..7b14a75e7cf7e 100644 --- a/tools/link.py +++ b/tools/link.py @@ -1966,8 +1966,6 @@ def run_embind_gen(wasm_target, js_syms, extra_settings, linker_inputs): settings.SINGLE_FILE = False # Embind may be included multiple times, de-duplicate the list first. settings.JS_LIBRARIES = dedup_list(settings.JS_LIBRARIES) - # JS and TS generation expects assert to always be defined. - settings.ASSERTIONS = 1 # Replace embind with the TypeScript generation version. embind_index = settings.JS_LIBRARIES.index('embind/embind.js') settings.JS_LIBRARIES[embind_index] = 'embind/embind_gen.js'