Skip to content
Verified Commit 2966744e authored by Matthew Clarkson's avatar Matthew Clarkson
Browse files

fix(symlink/target): add `files_to_run` property on `ToolchainInfo` provider

BREAKING CHANGE: `toolchain_symlink_path` no longer provides `ToolchainInfo`/`TemplateVariableInfo`.

It is required to use `toolchain_symlink_target` to the `toolchain_symlink_path`.

This is due to `toolchain_symlink_target` needing to export the `DefaultInfo.file_to_run` from the
symlinked target. That is not possible with a filesystem path.

This should not affect most users as `toolchain_symlink_path` is mainly used in `toolchain_local_which`.

If `toolchain_symlink_path` is being used, then to gain the previous functionality, create a
`toolchain_symlink_target` to the `toolchain_symlink_path` label.
parent 83a50711
Loading
Loading
Loading
Pipeline #9579 passed with stages
in 1 minute and 6 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment