Skip to content

Commit

Permalink
Remove always assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendandahl committed Sep 26, 2024
1 parent 9652bd7 commit 762bde7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 762bde7

Please sign in to comment.