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

Function save_intermediate

tools/link.py:144–150  ·  view source on GitHub ↗
(name, suffix='js')

Source from the content-addressed store, hash-verified

142# TODO: refactor all this, a singleton that abstracts over the final output
143# and saving of intermediates
144def save_intermediate(name, suffix='js'):
145 if not DEBUG:
146 return
147 if not final_js:
148 logger.debug(f'(not saving intermediate {name} because not generating JS)')
149 return
150 building.save_intermediate(final_js, f'{name}.{suffix}')
151
152
153def save_intermediate_with_wasm(name, wasm_binary):

Callers 8

phase_emscriptFunction · 0.70
phase_source_transformsFunction · 0.70
fix_js_manglingFunction · 0.70
phase_final_emittingFunction · 0.70
phase_binaryenFunction · 0.70
modularizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected