()
| 537 | |
| 538 | @memoize |
| 539 | def 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 | |
| 549 | def print_compiler_stage(cmd): |
no test coverage detected