Skip to content

Commit 0b65cd0

Browse files
committed
chore: bump Bazel from 5.2.0 to 6.5.0
Signed-off-by: Martijn Stevenson <[email protected]>
1 parent 95e9982 commit 0b65cd0

File tree

4 files changed

+19
-1
lines changed

4 files changed

+19
-1
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Disable Bzlmod
2+
common --noenable_bzlmod
3+
14
# Pass CC, CXX and PATH from the environment.
25
build --action_env=CC
36
build --action_env=CXX

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.2.0
1+
6.5.0

bazel/external/googletest.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/BUILD.bazel b/BUILD.bazel
2+
index 8099642a85..3598661079 100644
3+
--- a/BUILD.bazel
4+
+++ b/BUILD.bazel
5+
@@ -40,7 +40,7 @@ exports_files(["LICENSE"])
6+
7+
config_setting(
8+
name = "windows",
9+
- constraint_values = ["@bazel_tools//platforms:windows"],
10+
+ constraint_values = ["@platforms//os:windows"],
11+
)
12+
13+
config_setting(

bazel/repositories.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ def proxy_wasm_cpp_host_repositories():
134134
sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
135135
strip_prefix = "googletest-release-1.10.0",
136136
urls = ["https://github.com/google/googletest/archive/release-1.10.0.tar.gz"],
137+
patches = ["@proxy_wasm_cpp_host//bazel/external:googletest.patch"],
138+
patch_args = ["-p1"],
137139
)
138140

139141
# NullVM dependencies.

0 commit comments

Comments
 (0)