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

Method set_temp_dir

test/common.py:697–701  ·  view source on GitHub ↗
(self, temp_dir)

Source from the content-addressed store, hash-verified

695 self.cflags += ['-DWASMFS']
696
697 def set_temp_dir(self, temp_dir):
698 self.temp_dir = temp_dir
699 self.canonical_temp_dir = get_canonical_temp_dir(self.temp_dir)
700 # Explicitly set dedicated temporary directory for parallel tests
701 os.environ['EMCC_TEMP_DIR'] = self.temp_dir
702
703 def parse_wasm(self, filename):
704 wat = self.get_wasm_text(filename)

Callers 1

run_testFunction · 0.80

Calls 1

get_canonical_temp_dirFunction · 0.90

Tested by 1

run_testFunction · 0.64