diff --git a/cc/toolchains/args.bzl b/cc/toolchains/args.bzl index 282fa04..4f71986 100644 --- a/cc/toolchains/args.bzl +++ b/cc/toolchains/args.bzl @@ -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.