Commits on Source (3)
-
Matthew Clarkson authored
BREAKING CHANGE: The `toolchain_symlink_target` no longer exports `ToolchainInfo`/`TemplateVariableInfo`. The `toolchain_info` can provide those providers. The `toolchain_symlink_target` is purely for creating a symlink to a previous target. This still enables changing the basename for multi-call binaries. To gain the old functionality, if `basename` attribute is not being used, `toolchain_symlink_target` can be switched directly for `toolchain_info`. If `basename` is being used, an extra `toolchain_info` rule will need to be created to wrap the `toolchain_symlink_target` rule.
Verified11ea2416 -
Matthew Clarkson authoredVerifiedbe3b8686
-
Bot authored
# [1.0.0-beta.9](https://git.gitlab.arm.com/bazel/toolchain_utils/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2024-05-03) ### Features * add `toolchain_info` rule ([11ea2416](https://git.gitlab.arm.com/bazel/toolchain_utils/commit/11ea241647f87759bebd2c5ce7a7b0bdba55953a)) ### BREAKING CHANGES * The `toolchain_symlink_target` no longer exports `ToolchainInfo`/`TemplateVariableInfo`. The `toolchain_info` can provide those providers. The `toolchain_symlink_target` is purely for creating a symlink to a previous target. This still enables changing the basename for multi-call binaries. To gain the old functionality, if `basename` attribute is not being used, `toolchain_symlink_target` can be switched directly for `toolchain_info`. If `basename` is being used, an extra `toolchain_info` rule will need to be created to wrap the `toolchain_symlink_target` rule.
Showing
- CHANGELOG.md 20 additions, 0 deletionsCHANGELOG.md
- MODULE.bazel 1 addition, 1 deletionMODULE.bazel
- e2e/toolchain/echo/BUILD.bazel 2 additions, 2 deletionse2e/toolchain/echo/BUILD.bazel
- toolchain/info/BUILD.bazel 0 additions, 0 deletionstoolchain/info/BUILD.bazel
- toolchain/info/defs.bzl 5 additions, 0 deletionstoolchain/info/defs.bzl
- toolchain/info/rule.bzl 109 additions, 0 deletionstoolchain/info/rule.bzl
- toolchain/local/which/BUILD.tmpl.bazel 3 additions, 4 deletionstoolchain/local/which/BUILD.tmpl.bazel
- toolchain/symlink/target/rule.bzl 6 additions, 49 deletionstoolchain/symlink/target/rule.bzl
toolchain/info/BUILD.bazel
0 → 100644
toolchain/info/defs.bzl
0 → 100644
toolchain/info/rule.bzl
0 → 100644