rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

Feature: get environment variables necessary to resolve runfiles

Open liningpan opened this issue 11 months ago • 1 comments

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 avatar Mar 20 '24 22:03 liningpan

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

DavidZbarsky-at avatar Mar 22 '24 21:03 DavidZbarsky-at