commit | 1d03d53b56f90d26818186158fd31d41f67c2508 | [log] [tgz] |
---|---|---|
author | Googler <jhorvitz@google.com> | Thu Feb 16 14:39:41 2023 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 16 14:40:41 2023 -0800 |
tree | 35909f7032cfd4332870ecee3498b20f7aaa4ed1 | |
parent | 836c608792fe20eeb29221861eb35932e9189db6 [diff] |
When freezing an `AttributeContainer`, do not store non-explicit values that match the attribute's default value. This saves a significant amount of space. Consumers of a frozen `AttributeContainer` must retrieve defaults from the `RuleClass` - this was already the case for regular defaults and is now also done for `ComputedDefault` values as well. Overhaul `AttributeContainerTest` to use `TestParameterInjector` to run tests with both small/large container sizes and mutable/frozen. PiperOrigin-RevId: 510248106 Change-Id: I4fd66a0afc576038021ffa1aa52c4fafb0571f67
{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