katre@ is working on exec platform resolution improvements.
As part of that we want to switch license() rules from the exec configuration to a "no configuration". The only reason they use the exec configuration is so mullt-configured target builds don't fork license() rules for no reason. "No configuration" is a better expression of that but it's not available in Starlark.
katre@ is working on exec platform resolution improvements.
As part of that we want to switch
license()
rules from the exec configuration to a "no configuration". The only reason they use the exec configuration is so mullt-configured target builds don't forklicense()
rules for no reason. "No configuration" is a better expression of that but it's not available in Starlark.https://bazel-review.googlesource.com/c/bazel/+/254333 will switch
license()
rules to use "no configuration" internally within Bazel. After that change the only remaining cleanup is removing the license_kinds exec transition.But we can't remove that until https://bazel-review.googlesource.com/c/bazel/+/254333 is released in an acceptable Bazel version. (Bazel 8?).
Once that happens we should remove it. See the code comments in https://bazel-review.googlesource.com/c/bazel/+/254333 for details.