Skip to content

Commit 286c206

Browse files
authored
Add __start_em_js/__stop_em_js to list of internal globals. NFC (#21856)
This avoids them being declared as JS globals.
1 parent 0649692 commit 286c206

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/extract_metadata.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def get_main_reads_params(module, export_map):
242242
def get_global_exports(module, exports):
243243
global_exports = {}
244244
internal_start_stop_symbols = set(['__start_em_asm', '__stop_em_asm',
245+
'__start_em_js', '__stop_em_js',
245246
'__start_em_lib_deps', '__stop_em_lib_deps',
246247
'__em_lib_deps'])
247248
internal_prefixes = ('__em_js__', '__em_lib_deps')

0 commit comments

Comments
 (0)