Skip to content

Commit

Permalink
Fix buildifier finding in rules_cc
Browse files Browse the repository at this point in the history
BEGIN_PUBLIC

Fix buildifier finding in rules_cc

Fixes an out-of-order dictionary entry identified by the rules_cc Bazel CI.

END_PUBLIC

PiperOrigin-RevId: 671626223
Change-Id: Ib33fa36db879a5cd89cb2d01bb5b671e706de77b
  • Loading branch information
Googler authored and copybara-github committed Sep 6, 2024
1 parent f999a8e commit 8b63556
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cc/toolchains/args.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ _cc_args = rule(
See @rules_cc//cc/toolchains/actions:all for valid options.
""",
),
"env": attr.string_dict(
doc = "Environment variables to be added to the command-line.",
),
"allowlist_include_directories": attr.label_list(
providers = [DirectoryInfo],
doc = """Include paths implied by using this rule.
Expand All @@ -104,6 +101,9 @@ Bazel checks that all included headers are properly provided by a dependency or
allowlisted through this mechanism.
""",
),
"env": attr.string_dict(
doc = "Environment variables to be added to the command-line.",
),
"requires_any_of": attr.label_list(
providers = [FeatureConstraintInfo],
doc = """This will be enabled when any of the constraints are met.
Expand Down

0 comments on commit 8b63556

Please sign in to comment.