Allow execpath to refer to a directory #23015
Labels
team-Rules-API
API for writing rules/aspects: providers, runfiles, actions, artifacts
team-Starlark-Integration
Issues involving Bazel's integration with Starlark, excluding builtin symbols
type: feature request
untriaged
Description of the feature request:
In Bazel 7, referring to directories in
execroot
gives this warning:However, there are no good alternative for solving this problem:
Which category does this issue belong to?
Rules API, Starlark Integration
What underlying problem are you trying to solve with this feature?
I need to set an environment variable of a binary inside of Bazel to a directory.
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?release 7.2.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
I have looked at different approaches to solving this program (macros, rules, providers), all of which seem very verbose and do not solve the problem
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: