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

Function get_wasm_ld

ci/wasm_tools.py:154–164  ·  view source on GitHub ↗

Get wasm-ld linker command. Returns: Path to wasm-ld binary, or clang-tool-chain wrapper as fallback.

()

Source from the content-addressed store, hash-verified

152
153
154def get_wasm_ld() -> str:
155 """
156 Get wasm-ld linker command.
157
158 Returns:
159 Path to wasm-ld binary, or clang-tool-chain wrapper as fallback.
160 """
161 setup_emscripten_env()
162 if _fast_wasm_ld is not None:
163 return _fast_wasm_ld
164 return "clang-tool-chain-wasm-ld"
165
166
167def get_emcc() -> str:

Callers 1

build_libraryFunction · 0.90

Calls 1

setup_emscripten_envFunction · 0.85

Tested by

no test coverage detected