commit | d47f56b4fb668f7911a509b4653b8a4ab498d911 | [log] [tgz] |
---|---|---|
author | Googler <nharmata@google.com> | Fri May 19 17:03:09 2023 -0700 |
committer | fweikert <fwe@google.com> | Fri May 26 13:40:10 2023 +0200 |
tree | b720aa3bf79db6d14aef856aba52cd18c1ab0062 | |
parent | 31b1b46d5bb4eacb3e5e41da684fe90e23d4f672 [diff] |
Fix non-determinism in the `FailureDetail` produced for a package with multiple label crosses subpackage boundary errors. While I'm here, also make the code a tiny bit simpler: * Explicitly create the empty inner `ArrayList` on each loop iteration. There's no need to use `#computeIfAbsent`; we know no other loop iteration will be processing the same `Target`. * Use a `List<Pair<Target, List<PackageLookupValue.Key>>>` instead of a `Map<Target, List<PackageLookupValue.Key>>` since we don't need lookup semantics. PiperOrigin-RevId: 533585562 Change-Id: Iaa3c3d9302a0eef533b55d1f17c33de3ec23666b
{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