| commit | 4eed64eadfdc8c4ac0a8ab0628880ffccdff3a77 | [log] [tgz] |
|---|---|---|
| author | brandjon <brandjon@google.com> | Mon Aug 24 10:13:53 2020 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Mon Aug 24 10:15:25 2020 -0700 |
| tree | 8328fca3bfaffc502bd96cbe5c8b948041ba0cad | |
| parent | 9db98c4f0a0f6d81e0981a6ab2359e7c52f8c255 [diff] |
Make InconsistentFilesystemException less pervasive in bzl skyframe code ASTFileLookupFunction: - Delete handling of this exception entirely, as it's dead code. Its use for package lookup was removed by https://github.com/bazelbuild/bazel/commit/c5d9e2b2034ee7b3c7bc26db095ff0a14e7785f1, and its special casing in a try statement was refactored in https://github.com/bazelbuild/bazel/commit/dc1d9dcf7f6149a37b71a150b3f194937e9682a7. BzlLoadFunction: - Delete it from many method signatures. - In package lookup, re-raise it as BzlLoadFailedException, just like for BuildFileNotFoundException. - Narrow the type for deferredException, replace the one use of MoreObjects.firstNonNull(). PackageFunction: - Same simplification of deferredException. RELNOTES: None PiperOrigin-RevId: 328162322
{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:
See CONTRIBUTING.md