Skip to content

Commit 246038d

Browse files
committed
Remove '//command_line_option:is host configuration' as host configuration is removed in bazel 7
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent f68a003 commit 246038d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ci/cquery_ignore_non_target_and_incompatible.bzl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
def format(target):
1818
build_opts = build_options(target)
1919

20-
# We only want to get targets that are in the target configuration. So we ignore exec and host targets.
21-
if build_opts["//command_line_option:is exec configuration"] or build_opts["//command_line_option:is host configuration"]:
20+
# We only want to get targets that are in the target configuration. So we ignore exec targets.
21+
# Note: "is host configuration" was removed in Bazel 7 as host configuration was fully replaced by exec configuration.
22+
if build_opts["//command_line_option:is exec configuration"]:
2223
return None
2324

2425
# Ignore targets that are incompatible with the target configuration.

0 commit comments

Comments
 (0)