Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-export runfiles env vars so that dependencies can use them #1235

Merged

Conversation

mishazharov
Copy link
Contributor

I've ran into a bug where a top-level target is able to use runfiles, but if a target is in the dependencies of the top-level target, it is not able to detect them. To fix this, I patched rules_foreign_cc to re-export the env cars used to find runfiles, and that seems to work

@jsharpe jsharpe merged commit fb20967 into bazel-contrib:main Jul 26, 2024
1 of 2 checks passed
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.

2 participants