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
It looks like you are trying to build stuff with the host macOS toolchain somehow. At least the location of failing header file suggest a local clang 16 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include).
emsdk is a cross compiler so the host toolchains and headers should never be used. So something must not be configured correctly here.
Can you try just building the wasm_cc_binaries targets? e.g.bazel build //hello-world:hello-world-wasm
I don't think the default cc_binary targets in bazel/hello-world/BUILD are supposed to be buildable except with the emscripten toolchain. I think in the past they could be built with --config=wasm.. but I'm not sure that works these days? @walkingeyerobot ?
Steps to repro:
Errors:
The text was updated successfully, but these errors were encountered: