commit | 0604c8a4ec0945f732140f4056d088f55d18bd77 | [log] [tgz] |
---|---|---|
author | Googler <jhorvitz@google.com> | Mon Oct 28 18:26:32 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 28 18:28:25 2024 -0700 |
tree | 75d8e91bc13a8e0f5657683d2ee968f8b63164e7 | |
parent | 2d7d37619770f3ca703b5aacf7e4df766865424b [diff] |
Reduce filesystem stats in `SymlinkAction`. `SymlinkAction` checks whether the symlink target is an executable file. If the filesystem implementation supports returning permission bits in the stat (supported in the common case, i.e. `UnixFileSystem`), then a single stat suffices for both `isFile()` and `isExecutable()`. Moreover, for a source artifact, we can use the build's `SyscallCache` since it was already statted by `FileStateFunction`. PiperOrigin-RevId: 690819972 Change-Id: Ibd1f8d7aa9c3bd185a965f5a2ec015513ef315be
{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