commit | cf78385a58e278b542511d246bb1cef287d528e9 | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Tue Jan 24 01:05:54 2023 +0100 |
committer | GitHub <noreply@github.com> | Mon Jan 23 16:05:54 2023 -0800 |
tree | 3997e8dfb2a5d54f23563e595c074dccade75704 | |
parent | a58935afafb57949e89fa5562b800a49c4af11b5 [diff] |
Add `env` attribute to `go_binary` (#3428) Using the new `RunEnvironmentInfo` provider in Bazel 5.3.0, `go_binary` targets can now specify environment variables to be set when they are executed with `bazel run`. Since `RunEnvironmentInfo` generalizes the `testing.TestEnvironment` provider, the existing usage is updated.