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

fix(resolved): correctly forward on providers

The resolved rule incorrectly rebuilt and forwarded on providers
in such a way that the variable was not able to be used in a `genrule`
because runfiles were not correctly found.

This patch resolves this issue by correctly constructing the providers.

BREAKING CHANGE: The `resolved` repository rule has removed the `basename` attribute in favour or symlinking the binary directly.

This change prevents unwanted symlink basename changes which can prevent multi-tool binaries from functioning correctly.

To set the basename of a symlink use the `toolchain_symlink_target` rule.
parent f51317b8
Loading
Loading
Loading
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