2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-27 20:43:26 +00:00

Automated rollback of commit 06e9dcf4b7.

*** Reason for rollback ***

Breaking tap/blaze. Example failure: []

*** Original change description ***

Sort action lists to make diffing easier.

***

PiperOrigin-RevId: 523671424
Change-Id: I475ff02bf8efd3c56e489e2de3ba2c3a5639c32e
This commit is contained in:
Googler 2023-04-12 05:18:56 -07:00 committed by Copybara-Service
parent 06e9dcf4b7
commit 2e4313aeba

View file

@ -186,7 +186,7 @@ def env_set(actions, env_entries = [], with_features = []):
_check_same_type(env_entries, [], "env_entries", "env_set") _check_same_type(env_entries, [], "env_entries", "env_set")
_check_same_type(with_features, [], "with_features", "env_set") _check_same_type(with_features, [], "with_features", "env_set")
return EnvSetInfo( return EnvSetInfo(
actions = sorted(actions), actions = actions,
env_entries = env_entries, env_entries = env_entries,
with_features = with_features, with_features = with_features,
type_name = "env_set", type_name = "env_set",
@ -348,7 +348,7 @@ def flag_set(
_check_same_type(with_features, [], "with_features", "flag_set") _check_same_type(with_features, [], "with_features", "flag_set")
_check_same_type(flag_groups, [], "flag_groups", "flag_set") _check_same_type(flag_groups, [], "flag_groups", "flag_set")
return FlagSetInfo( return FlagSetInfo(
actions = sorted(actions), actions = actions,
with_features = with_features, with_features = with_features,
flag_groups = flag_groups, flag_groups = flag_groups,
type_name = "flag_set", type_name = "flag_set",