commit | bc83389808d5a970a56fb826e86d0efe56b65d2b | [log] [tgz] |
---|---|---|
author | Fabian Meumertzheim <fabian@meumertzhe.im> | Tue Mar 14 03:28:15 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Mar 14 03:29:54 2023 -0700 |
tree | 57d718a730b9f6e8cbfe2d92ac0bd038a80d15ea | |
parent | 24470bee845f769c011860073a38add5dd5d0f3f [diff] |
Clear runfiles environment variables for `bazel run` When an environment variable such as `RUNFILES_DIR` is set in the client environment when a target using runfiles libraries is run via `bazel run`, the libraries can't look up the runfiles directory or manifest. This is fixed by clearing the runfiles-related environment variables from the env in which the target is executed. Fixes #17571 Closes #17690. PiperOrigin-RevId: 516474822 Change-Id: Ia5201d4334b286b36ba2e476e850b98992ca0ffa
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
To report a security issue, please email security@bazel.build with a description of the issue, the steps you took to create the issue, affected versions, and, if known, mitigations for the issue. Our vulnerability management team will respond within 3 working days of your email. If the issue is confirmed as a vulnerability, we will open a Security Advisory. This project follows a 90 day disclosure timeline.
See CONTRIBUTING.md