Skip to content

Commit

Permalink
Use a helper to to define the cpp toolchain type (p4lang#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 and rst0git committed Jul 1, 2022
1 parent 4a462fa commit 03a287c
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 03a287c

Please sign in to comment.