rules_cc/tests
Googler a2949e206e Fix toolchain argument ordering
BEGIN_PUBLIC

Fix argument ordering

Expected argument ordering should be:

1. Arguments listed in `args`.
2. Legacy/built-in features.
3. User-defined features.

Due to some implementation changes, user-defined arguments were being applied last, reducing the ability for features to properly toggle behaviors dynamically.

This also fixes an issue caught by this change where cc_sysroot was applying flags to actions that had no associated action config.

END_PUBLIC

PiperOrigin-RevId: 683677895
Change-Id: I60e25ca22ffefce717e4e5ce476db0a070ca1993
2024-10-08 10:34:59 -07:00
..
compiler_settings Fix lexicographical order to make Buildifier happy. 2023-09-05 03:15:26 -07:00
load_from_macro Internal change 2020-11-02 13:19:59 -08:00
rule_based_toolchain Fix toolchain argument ordering 2024-10-08 10:34:59 -07:00
simple_binary Introduce flag --@rules_cc//:link_extra_libs 2023-02-16 04:15:10 -08:00
system_library Fix internal breakages for `rules_cc`. 2024-02-09 09:50:57 -08:00