Skip to content

Commit

Permalink
Advertise CcInfo from cc_import
Browse files Browse the repository at this point in the history
Fixes #19056
  • Loading branch information
oquenchil authored Jul 26, 2023
1 parent bac4393 commit 36fa03e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/starlark/builtins_bzl/common/cc/cc_import.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ cc_import = rule(
),
"_cc_toolchain": attr.label(default = "@" + semantics.get_repo() + "//tools/cpp:current_cc_toolchain"),
},
provides = [CcInfo],
toolchains = cc_helper.use_cpp_toolchain(),
fragments = ["cpp"],
incompatible_use_toolchain_transition = True,
Expand Down

0 comments on commit 36fa03e

Please sign in to comment.