emscripten-core / emsdk

Emscripten SDK
http://emscripten.org
Other
3k stars 682 forks source link

[Bazel] Add example of extracting Emscripten's output with rules_foreign_cc #1392

Open allsey87 opened 4 months ago

allsey87 commented 4 months ago

The wasm_cc_binary function is quite convenient for extracting the Emscripten output of a cc_binary, but how can the outputs of more complicated build systems, i.e., those supported in rules_foreign_cc, be extracted?