MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_output_suffix

Function get_output_suffix

test/common.py:278–282  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

276
277
278def get_output_suffix(args):
279 if any(a in args for a in ('-sEXPORT_ES6', '-sWASM_ESM_INTEGRATION', '-sMODULARIZE=instance')):
280 return '.mjs'
281 else:
282 return '.js'
283
284
285def match_engine_executable(engine, name):

Callers 2

output_nameMethod · 0.85
buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected