Skip to content

Commit 0e96f74

Browse files
committed
Upgrade aspect_rules_lint to 2.5.2 for Bazel 9 compatibility
This upgrades aspect_rules_lint to 2.5.2, which fixes compatibility issues with Bazel 9.0.0 where native.sh_test is no longer available by default. Assisted-by: Jetski Bug: b/512215781
1 parent a070843 commit 0e96f74

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

base/cvd/MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
bazel_dep(name = "abseil-cpp", version = "20260107.0")
99
bazel_dep(name = "aspect_bazel_lib", version = "2.19.3")
10-
bazel_dep(name = "aspect_rules_lint", version = "1.4.4", dev_dependency = True)
10+
bazel_dep(name = "aspect_rules_lint", version = "2.5.2", dev_dependency = True)
1111
bazel_dep(name = "bazel_skylib", version = "1.8.2", dev_dependency = True)
1212
bazel_dep(name = "boringssl", version = "0.20241024.0")
1313
bazel_dep(name = "brotli")

base/cvd/tools/lint/linters.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ load("@aspect_rules_lint//lint:lint_test.bzl", "lint_test")
44
clang_tidy = lint_clang_tidy_aspect(
55
binary = "@@//tools/lint:clang_tidy",
66
configs = ["@@//:clang_tidy_config"],
7+
rule_kinds = ["cc_binary", "cc_library", "cc_test"],
78
)
89

910
clang_tidy_test = lint_test(aspect = clang_tidy)

0 commit comments

Comments
 (0)