Skip to content

Commit 617332b

Browse files
authored
Update bazel (#443)
This is now compatible with bazel 9.0.0
1 parent 545431d commit 617332b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# cpu_features, a cross platform C99 library to get cpu features at runtime.
22

33
load("@bazel_skylib//lib:selects.bzl", "selects")
4+
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
5+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
6+
load("@rules_cc//cc:cc_test.bzl", "cc_test")
47

58
package(
69
default_visibility = ["//visibility:public"],

MODULE.bazel

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module(
1313
version = CPU_FEATURES_VERSION,
1414
)
1515

16-
bazel_dep(name = "bazel_skylib", version = "1.7.1")
17-
bazel_dep(name = "googletest", version = "1.15.2")
18-
bazel_dep(name = "platforms", version = "0.0.10")
16+
bazel_dep(name = "bazel_skylib", version = "1.9.0")
17+
bazel_dep(name = "rules_cc", version = "0.2.17")
18+
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
19+
bazel_dep(name = "platforms", version = "1.0.0")

0 commit comments

Comments
 (0)