commit | d101fc87b65ff45f87bccfdf93c2bdbddd7dc4f5 | [log] [tgz] |
---|---|---|
author | adonovan <adonovan@google.com> | Fri Jun 26 13:54:26 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jun 26 13:56:02 2020 -0700 |
tree | 8bde0f5058e316d3640a4c9194b6f8db38ae19e3 | |
parent | 65ed16c871ff7b7c9707a4dc6d50e615f939baf8 [diff] |
bazel syntax: reject x<<y if y > 31 Because Java's shift operators only use the low 5 bits of y, we cannot check for overflow simply by unshifting and comparing. Also, detect overflow of integer division (MININT // -1). BUG=159942010,159946493 PiperOrigin-RevId: 318537836
{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