Toolchain rules: legacy features need to be explicitly enabled to create a working toolchain #224
Labels
category: toolchain rules
P3
Accepted issue. Team is likely to fix this issue in the future, but no short-term promises are made.
type: bug
Something that should be working isn't working
When creating a rule-based toolchain, legacy features must be explicitly enabled in order for tool invocations to be correctly constructed. This can be done in one of two ways:
implies
on acc_action_type_config
:cc_toolchain
.This is a bit of a stumbling block, since it's not exactly obvious which of these legacy features are required to construct a working toolchain, or how to re-implement these features correctly in a way that makes Bazel happy.
There's a few potential paths to pursue here:
cc_toolchain
that enables all legacy features.cc_args
/cc_args_list
) that implement the required flags, and either provide guidance on how to comprehensively build a toolchain that includes the required arguments or make the toolchain rules infer the required args if no args are explicitly provided.The text was updated successfully, but these errors were encountered: