rules_cc/cc/toolchains/args
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
..
archiver_flags Consolidate action labels in toolchain args 2024-09-12 11:05:19 -07:00
force_pic_flags Consolidate action labels in toolchain args 2024-09-12 11:05:19 -07:00
libraries_to_link Consolidate action labels in toolchain args 2024-09-12 11:05:19 -07:00
linker_param_file Consolidate action labels in toolchain args 2024-09-12 11:05:19 -07:00
runtime_library_search_directories Consolidate action labels in toolchain args 2024-09-12 11:05:19 -07:00
shared_flag Consolidate action labels in toolchain args 2024-09-12 11:05:19 -07:00
BUILD Implement libraries_to_link as cc_args 2024-09-06 08:56:38 -07:00
sysroot.bzl Fix toolchain argument ordering 2024-10-08 10:34:59 -07:00