Dictionary of strings; optional; values are subject to
$(location) and
"Make variable" substitution
Specifies additional environment variables to set when the target is
executed by bazel run
.
This attribute only applies to native rules, like cc_binary
, py_binary
,
and sh_binary
. It does not apply to Starlark-defined executable rules.
NOTE: The environment variables are not set when you run the target
outside of Bazel (for example, by manually executing the binary in
bazel-bin/
).