commit | 82281ad1d56b0522c75c4f40ff2b8151723f2c71 | [log] [tgz] |
---|---|---|
author | gregce <gregce@google.com> | Wed Feb 27 08:01:07 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 27 08:02:43 2019 -0800 |
tree | c2575b86e1464915255eb8f1a3a4cd401fcc74ed | |
parent | 1a90fe605574a6a04208b75a1092863be007da1b [diff] |
Don't crash when Starlark rules declare attributes named "licenses". The specific use case that triggers this is writing a rule with a non-LICENSE-typed attribute named "licenses", then creating a BUILD instance that doesn't explicitly set its value. See the test for an example. Fixes #7194. Also fixes https://github.com/bazelbuild/bazel/issues/6420#issuecomment-450668017, which blocks the --incompatible_no_attr_license migration. RELNOTES: Starlark rules can safely declare attributes named "licenses" PiperOrigin-RevId: 235919628
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds 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
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.