Skip to content

Commit 3bd9efc

Browse files
authored
Replace uses of //tools/cpp:toolchain_utils.bzl with @rules_cc//cc:find_cc_toolchain.bzl
The former was deprecated.
1 parent 8c5f5b2 commit 3bd9efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/cloud/capture_build_info.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ https://github.com/bazelbuild/rules_cc/blob/0d68932a68bcd6f332b14ccc561990586de2
3333
"""
3434

3535
load("@rules_cc//cc:action_names.bzl", "CPP_COMPILE_ACTION_NAME")
36-
load("@rules_cc//cc:toolchain_utils.bzl", "find_cpp_toolchain")
36+
load("@rules_cc//cc:find_cc_toolchain.bzl", "find_cc_toolchain")
3737

3838
def _capture_build_info_impl(ctx):
39-
toolchain = find_cpp_toolchain(ctx)
39+
toolchain = find_cc_toolchain(ctx)
4040
feature_configuration = cc_common.configure_features(
4141
ctx = ctx,
4242
cc_toolchain = toolchain,

0 commit comments

Comments
 (0)