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

Function compiler_for

test/common.py:150–154  ·  view source on GitHub ↗
(filename, force_c=False)

Source from the content-addressed store, hash-verified

148
149
150def compiler_for(filename, force_c=False):
151 if utils.suffix(filename) in {'.cc', '.cxx', '.cpp'} and not force_c:
152 return EMXX
153 else:
154 return EMCC
155
156
157def record_flaky_test(test_name, attempt_count, max_attempts, exception_msg):

Callers 6

run_codesize_testMethod · 0.90
build_dlfcn_libMethod · 0.90
compile_btestMethod · 0.90
buildMethod · 0.85
emccMethod · 0.85

Calls

no outgoing calls

Tested by 3

run_codesize_testMethod · 0.72
build_dlfcn_libMethod · 0.72