You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@walkingeyerobot / @kripken Any other existing examples that build a foreign_rules_cc based bazel target using emsdk ?, want to check if I am missing anything or configuring the toolchain incorrectly. Thanks.
Unfortunately I don't have any experience with foreign_rules_cc. I think I remember someone else experimenting with it or asking about it, but I'm having trouble digging that up and ultimately I don't think they were able to get it to work.
I suspect the script at bazel/emscripten_toolchain/env.sh isn't going to work for foreign_rules_cc. It's intended only for use with the toolchain and the wasm_cc_binary rule provided in this repo. If you want to use foreign_rules_cc, I would avoid using bazel things in this directory and just try to use emcc directly as your compiler and linker.
Uh oh!
There was an error while loading. Please reload this page.
I have the foreign_cc_rules bazel based rule to build eigen like this
when I try to build it with emsdk, i see link_wrapper.py throwing assertion shown below, is emsdk supposed to work with foreign_rules ?
The text was updated successfully, but these errors were encountered: