Closed tjgq closed 7 months ago
We should list this as a breaking change in the releases i think, it broke some downstream rules since the AppleMacToolchainInfo
provider fields have changed (and some of the resource action arguments)
That's not public API, right? I think we are free to modify that without any mention.
Yeah you're right. Thought it was in providers.bzl but doesn't look like it
By passing the files_to_run for a tool into the
executable
ortools
argument toctx.actions.run
orctx.actions.run_shell
, it's no longer necessary to pass the return values ofctx.resolve_tools
into theinputs
andinput_manifests
arguments.Each struct field of the AppleMacToolsToolchainInfo and AppleXPlatToolsToolchainInfo providers previously populated with the return values of
ctx.resolve_tools
is now populated with the files_to_run for the respective tool.The
resolved_
prefix is removed from field and variable names; in addition to it no longer making sense, this change provides proof that all usages have been audited.This lets us retire the
ctx.resolve_tools
API in a future Bazel version.