Skip to content

Commit

Permalink
Use a helper to to define the cpp toolchain type (#3416)
Browse files Browse the repository at this point in the history
Part of bazelbuild/bazel#14727

Missed this in 2645f65
  • Loading branch information
katre authored Jun 30, 2022
1 parent 31d2f5c commit dbd8472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/p4_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -233,5 +233,5 @@ p4_graphs = rule(
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
},
incompatible_use_toolchain_transition = True,
toolchains = ["@bazel_tools//tools/cpp:toolchain_type"],
toolchains = use_cpp_toolchain(),
)

0 comments on commit dbd8472

Please sign in to comment.