What happened?
As with #810: @aspect_rules_lint//lint/clang_tidy.bzl itself refers to CcInfo at
|
if not CcInfo in target: |
|
return [] |
|
|
|
files_to_lint = _filter_srcs(ctx.rule) |
|
compilation_context = target[CcInfo].compilation_context |
|
if hasattr(ctx.rule.attr, "implementation_deps"): |
|
compilation_context = cc_common.merge_compilation_contexts( |
|
compilation_contexts = [compilation_context] + |
|
[implementation_dep[CcInfo].compilation_context for implementation_dep in ctx.rule.attr.implementation_deps], |
:
(18:53:54) ERROR: /var/obj/_bazel_jashank/7a23896fd80f37b91bcc9ce88059a418/external/aspect_rules_lint+/lint/clang_tidy.bzl:379:12: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
(18:53:54) ERROR: /var/obj/_bazel_jashank/7a23896fd80f37b91bcc9ce88059a418/external/aspect_rules_lint+/lint/clang_tidy.bzl:383:34: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
(18:53:54) ERROR: /var/obj/_bazel_jashank/7a23896fd80f37b91bcc9ce88059a418/external/aspect_rules_lint+/lint/clang_tidy.bzl:387:56: The CcInfo symbol has been removed, add the following to your BUILD/bzl file:
load("@rules_cc//cc/common:cc_info.bzl", "CcInfo")
I suspect that adding the suggested load line would fix this.
Version
Development (host) and target OS/architectures:
Output of bazel --version:
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
Language(s) and/or frameworks involved:
How to reproduce
Any other information?
No response
What happened?
As with #810:
@aspect_rules_lint//lint/clang_tidy.bzlitself refers toCcInfoatrules_lint/lint/clang_tidy.bzl
Lines 379 to 387 in a0aa91f
I suspect that adding the suggested
loadline would fix this.Version
Development (host) and target OS/architectures:
Output of
bazel --version:Version of the Aspect rules, or other relevant rules from your
WORKSPACEorMODULE.bazelfile:Language(s) and/or frameworks involved:
How to reproduce
Any other information?
No response