Skip to content

Add support for build script runfiles#4066

Open
UebelAndre wants to merge 1 commit into
bazelbuild:mainfrom
UebelAndre:cargo_build_script
Open

Add support for build script runfiles#4066
UebelAndre wants to merge 1 commit into
bazelbuild:mainfrom
UebelAndre:cargo_build_script

Conversation

@UebelAndre
Copy link
Copy Markdown
Collaborator

This change restores support for runfiles in cargo_build_script.script. There exists one limitation where only cargo_build_script.tools can be located via runfiles. Any cargo_build_script.data files should be located relative to the CARGO_MANIFEST_DIR env var. This is required as there is no existing interface for merging exec (tools) and target (data) runfiles.

closes #4064

@UebelAndre UebelAndre marked this pull request as ready for review June 3, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant