Skip to content

Commit bf50796

Browse files
authored
Update Bazel to v7.0.2. (#223)
Disable Bzlmod until we migrate to MODULE.bazel. Signed-off-by: Piotr Sikora <[email protected]>
1 parent 7906f6b commit bf50796

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.bazelrc

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# Disable Bzlmod
2+
common --noenable_bzlmod
3+
14
# Force Bazel to use --target=wasm32-wasi
25
build --platforms=@rules_rust//rust/platform:wasi

.bazelversion

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.2.1
1+
7.0.2

.github/workflows/rust.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ jobs:
6666
key: ${{ hashFiles('WORKSPACE', '.bazelrc', '.bazelversion', 'bazel/cargo/Cargo.Bazel.lock', 'bazel/dependencies.bzl', 'bazel/repositories.bzl') }}
6767

6868
- name: Build (wasm32-unknown-unknown)
69-
run: bazelisk --noworkspace_rc build --platforms=@rules_rust//rust/platform:wasm //...
69+
run: bazelisk --noworkspace_rc build --noenable_bzlmod --platforms=@rules_rust//rust/platform:wasm //...
7070

7171
- name: Build (wasm32-wasi)
72-
run: bazelisk --noworkspace_rc build --platforms=@rules_rust//rust/platform:wasi //...
72+
run: bazelisk --noworkspace_rc build --noenable_bzlmod --platforms=@rules_rust//rust/platform:wasi //...
7373

7474
- name: Format (buildifier)
7575
run: |
@@ -80,7 +80,7 @@ jobs:
8080
8181
- name: Format (rules_rust)
8282
run: |
83-
bazelisk --noworkspace_rc run //bazel/cargo:crates_vendor
83+
bazelisk --noworkspace_rc run --noenable_bzlmod //bazel/cargo:crates_vendor
8484
git diff --exit-code
8585
8686
stable:

0 commit comments

Comments
 (0)