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

Function get_temp_files

tools/shared.py:539–546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

537
538@memoize
539def get_temp_files():
540 if DEBUG_SAVE:
541 # In debug mode store all temp files in the emscripten-specific temp dir
542 # and don't worry about cleaning them up.
543 return tempfiles.TempFiles(get_emscripten_temp_dir(), save_debug_files=True)
544 else:
545 # Otherwise use the system tempdir and try to clean up after ourselves.
546 return tempfiles.TempFiles(TEMP_DIR, save_debug_files=False)
547
548
549def print_compiler_stage(cmd):

Callers 1

run_multiple_processesFunction · 0.85

Calls 1

get_emscripten_temp_dirFunction · 0.85

Tested by

no test coverage detected