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
I cant seem to use bazel to run a test that includes "emscripten.h" or any other emscripten libs.
I wrote a cc_test and use --config=wasm and have gone through many, many errors that I am slowly working through. cc_binary/cc_libary work fine using "bazel build --config=wasm".
I have gone through many errors; so manual editing of the toolchain flags fixed most. Currently I am stuck on it not being able to include node_modules.
That specific error isn't really my main question. I really want to know if anyone has gotten cc_test to work at all with including emscripten libs?
Should we create a wasm_cc_test?
Activity
walkingeyerobot commentedon Sep 7, 2021
I can confirm that
bazel testdoes not currently work.sbc100 commentedon Aug 7, 2026
@DoDoENT @walkingeyerobot do you if this works now?
DoDoENT commentedon Aug 7, 2026
I'm running WASM tests regularly in my playground repo. See here: https://github.com/DoDoENT/bazel-playground