-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bazel] Failed to build on Emscripten #459
Comments
Thanks for the report! I see what you mean; this looks like the standalone logic. Do you have any suggestions, @anuraaga? It seems like specifying |
Hi @junyer - unfortunately I haven't ever used bazel to build this repo and have used only wasi-sdk, not emscripten so am not sure how to solve this particular issue in terms of syntax. @kon72 Just curious what version did you bump from? re2 migrated to using https://github.com/wasilibs/go-re2/blob/main/buildtools/re2/Dockerfile#L12 |
Thanks, @anuraaga. I will just try what I suggested and see whether that helps. :) |
I confirmed that 7e0c1a9 resolves the error. Thank you for the quick fix! |
Great, thanks for confirming. :) |
I bumped the version of re2 for my project and now the build fails with the following error:
After some digging, I found out that the error was introduced in 055e124 where the platform selection was narrowed down from
@platforms//cpu:wasm32
to@platforms//os:wasi
.Since in non-standalone build Emscripten only sets
cpu
towasm32
and doesn't setos
towasi
, I suspect the change should be reverted to check whethercpu
iswasm32
.The text was updated successfully, but these errors were encountered: