Skip to content

Commit

Permalink
Remove obsolete implicit attribute _cc_toolchain (#5062)
Browse files Browse the repository at this point in the history
CC toolchains are gathered from the line:
```
toolchains = use_cc_toolchains(),
```

Signed-off-by: John Cater <[email protected]>
  • Loading branch information
katre authored Dec 18, 2024
1 parent 6b9de96 commit 8062920
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bazel/p4_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ p4_library = rule(
default = Label("@com_github_p4lang_p4c//:p4include"),
allow_files = [".p4", ".h"],
),
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
},
toolchains = use_cpp_toolchain(),
)
Expand Down Expand Up @@ -250,7 +249,6 @@ p4_graphs = rule(
default = Label("@com_github_p4lang_p4c//:p4include"),
allow_files = [".p4", ".h"],
),
"_cc_toolchain": attr.label(default = Label("@bazel_tools//tools/cpp:current_cc_toolchain")),
},
toolchains = use_cpp_toolchain(),
)

0 comments on commit 8062920

Please sign in to comment.