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
Looks like you need to specify both the compiler and cpu for this to work.
I was also missing the --host_crosstool_top from the provided bazelrc for a while, which wasn't helping.
I think this is mainly a case of missing documentation.
I just tried and got the following error.
~/projects/rules_emscripten master $ bazel build :helloworld.html
ERROR: No default_toolchain found for cpu 'emscripten'. Valid cpus are: [
]
INFO: Elapsed time: 0.099s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
bazel version 0.17.1
Let me know if there is anything else you need.
Thanks!
The text was updated successfully, but these errors were encountered: