MCPcopy Create free account
hub / github.com/FastLED/FastLED / get_emcc

Function get_emcc

ci/wasm_tools.py:167–177  ·  view source on GitHub ↗

Get emscripten C compiler command. Returns: Path to emcc script, or clang-tool-chain wrapper as fallback.

()

Source from the content-addressed store, hash-verified

165
166
167def get_emcc() -> str:
168 """
169 Get emscripten C compiler command.
170
171 Returns:
172 Path to emcc script, or clang-tool-chain wrapper as fallback.
173 """
174 setup_emscripten_env()
175 if _fast_emcc is not None:
176 return _fast_emcc
177 return "clang-tool-chain-emcc"
178
179
180def get_emar() -> str:

Callers 7

compile_wasmFunction · 0.90
_intercept_emcc_compileFunction · 0.90
_intercept_emcc_linkFunction · 0.90
mainFunction · 0.90
build_libraryFunction · 0.90
run_emccFunction · 0.85

Calls 1

setup_emscripten_envFunction · 0.85

Tested by

no test coverage detected