rules_cc/tests/rule_based_toolchain
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
..
actions
args
args_list
features
legacy_features_as_args
nested_args
testdata
tool Create a concept of a tool capability. 2024-10-02 19:56:22 -07:00
tool_map
toolchain_config Fix toolchain argument ordering 2024-10-08 10:34:59 -07:00
variables
BUILD
analysis_test_suite.bzl
generate_factory.bzl Create a concept of a tool capability. 2024-10-02 19:56:22 -07:00
generics.bzl
subjects.bzl Create a concept of a tool capability. 2024-10-02 19:56:22 -07:00
testing_rules.bzl