From 06e9dcf4b7134da951bfff85beebb2c09252092b Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 12 Apr 2023 02:06:32 -0700 Subject: [PATCH] Sort action lists to make diffing easier. PiperOrigin-RevId: 523639362 Change-Id: I8a43799f58ad1ed5b19ec074fa9cb9a567591f36 --- cc/cc_toolchain_config_lib.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cc/cc_toolchain_config_lib.bzl b/cc/cc_toolchain_config_lib.bzl index 72645f7..5bf7af3 100644 --- a/cc/cc_toolchain_config_lib.bzl +++ b/cc/cc_toolchain_config_lib.bzl @@ -186,7 +186,7 @@ def env_set(actions, env_entries = [], with_features = []): _check_same_type(env_entries, [], "env_entries", "env_set") _check_same_type(with_features, [], "with_features", "env_set") return EnvSetInfo( - actions = actions, + actions = sorted(actions), env_entries = env_entries, with_features = with_features, type_name = "env_set", @@ -348,7 +348,7 @@ def flag_set( _check_same_type(with_features, [], "with_features", "flag_set") _check_same_type(flag_groups, [], "flag_groups", "flag_set") return FlagSetInfo( - actions = actions, + actions = sorted(actions), with_features = with_features, flag_groups = flag_groups, type_name = "flag_set",