env_sets not supported by action_config #9333
Labels
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Rules-CPP
Issues for C++ rules
type: feature request
Description of the problem / feature request:
Adding env_sets to build actions by adding them to action_config is not supported as docs suggest. (cc-toolchain-config-reference, cc_toolchain_config_lib.bzl:141).
I'm not sure if problem is missing implementation, or misleading docs.
Feature requests: what underlying problem are you trying to solve with this feature?
I want to setup remote license server for my compiler. It's done by environment variable. Therefore I want to add some environment variables to every execution of build action, that uses this compiler. After reading the docs I have come to an understanding that action_config is what I should use in this situation.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Try to provide env_sets to action_config(). Quick comparison between action_config and feature source code is enough to see it's not implemented.
What operating system are you running Bazel on?
Windows.
What's the output of
bazel info release
?release 0.28.0
Have you found anything relevant by searching the web?
Seems to be introduced in issue #5380. Commit: d2e02548768c8e61607a1317c7c4fee5b29131b2
The text was updated successfully, but these errors were encountered: