Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bazel/toolchain_utils
1 result
Show changes
Commits on Source (3)
# [1.0.0-beta.8](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2024-05-03)
### Bug Fixes
- **symlink/target:** add `run` property on `ToolchainInfo` provider ([0f18fef](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/0f18fef6742b133d2da0d0c920bc0fda30e14214))
### BREAKING CHANGES
- **symlink/target:** the `files_to_run` property has been removed from the `ToolchainInfo` provider. Use `info.default.files_to_run` instead.
A new `info.run` has been added that is `info.default.files_to_run` or `info.default.executable`.
This is a convenience property that can be passed to `ctx.actions.run#execute`.
# [1.0.0-beta.7](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2024-05-03)
### Bug Fixes
......
module(
name = "toolchain_utils",
version = "1.0.0-beta.7",
version = "1.0.0-beta.8",
bazel_compatibility = [
">=7.0.0",
],
......
......@@ -94,7 +94,7 @@ def implementation(ctx):
variables = variables,
default = ctx.attr.target[DefaultInfo],
executable = ctx.executable.target,
files_to_run = ctx.attr.target.files_to_run,
run = ctx.attr.target.files_to_run or ctx.executable.target,
)
return [variables, toolchain, default]
......