Skip to content
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

Is there a way to use emsdk using bzlmod? #1509

Open
ShapeLayer opened this issue Jan 9, 2025 · 1 comment
Open

Is there a way to use emsdk using bzlmod? #1509

ShapeLayer opened this issue Jan 9, 2025 · 1 comment

Comments

@ShapeLayer
Copy link

ShapeLayer commented Jan 9, 2025

I am now trying to use emsdk/bazel with bzlmod. However, the contents of /bazel seem to not support bzlmod. In more detail, I'm trying to use emsdk using only MODULE.bazel, but it is not working well.

Is there a way to use emsdk with MODULE.bazel not WORKSPACE?

Ref:

ERROR: Skipping '//includes:libgfm2pst-wasm.js': error loading package 'includes': Unable to find package for
 @@[unknown repo 'emsdk' requested from @@]//emscripten_toolchain:wasm_rules.bzl: The repository '@@
[unknown repo 'emsdk' requested from @@]' could not be resolved: No repository visible as '@emsdk' from 
main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in 
Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
ERROR: error loading package 'includes': Unable to find package for @@[unknown repo 'emsdk' requested from 
@@]//emscripten_toolchain:wasm_rules.bzl: The repository '@@[unknown repo 'emsdk' requested from @@]' 
could not be resolved: No repository visible as '@emsdk' from main repository. Was the repository introduced in 
WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 
(late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
@sbc100
Copy link
Collaborator

sbc100 commented Jan 9, 2025

@walkingeyerobot ?

@ShapeLayer ShapeLayer changed the title Is there a way to emsdk using bzlmod? Is there a way to use emsdk using bzlmod? Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants