Fix buildifier finding in rules_cc

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
This commit is contained in:
Googler 2024-09-05 22:07:26 -07:00 committed by Copybara-Service
parent f999a8e23b
commit 8b63556334
1 changed files with 3 additions and 3 deletions

View File

@ -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.
@ -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.