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

Feature: get environment variables necessary to resolve runfiles #2567

Open
liningpan opened this issue Mar 20, 2024 · 1 comment
Open

Feature: get environment variables necessary to resolve runfiles #2567

liningpan opened this issue Mar 20, 2024 · 1 comment

Comments

@liningpan
Copy link
Contributor

liningpan commented Mar 20, 2024

It would be helpful to add a method to the runfiles library that returns a set of environment variables for sub-processes to resolve runfiles.

For reference, the Python runfiles library provides this functionality.

https://github.com/bazelbuild/rules_python/blob/e86252ffd6d1a1bf32ae99933acc5ab49b78ec1e/python/runfiles/runfiles.py#L200

@liningpan liningpan changed the title Return a set of a environment variables necessary to resolve runfiles Feature: get environment variables necessary to resolve runfiles Mar 20, 2024
@DavidZbarsky-at
Copy link

I am currently poking at runfiles library, I can add this

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

No branches or pull requests

2 participants