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

Method compile_to_executable

test/test_other.py:3147–3151  ·  view source on GitHub ↗
(compile_args, link_args)

Source from the content-addressed store, hash-verified

3145 self.assertLess(line_size, full_size)
3146
3147 def compile_to_executable(compile_args, link_args):
3148 # compile with the specified args
3149 self.run_process([EMCC, test_file('hello_world.c'), '-c', '-o', 'a.o'] + compile_args)
3150 # link with debug info
3151 self.run_process([EMCC, 'a.o'] + link_args)
3152
3153 def compile_to_debug_executable(compile_args):
3154 return compile_to_executable(compile_args, ['-g'])

Callers

nothing calls this directly

Calls 2

test_fileFunction · 0.90
run_processMethod · 0.80

Tested by

no test coverage detected