commit | ecc4c59350fbd04be9cb8433c00513c3d880932e | [log] [tgz] |
---|---|---|
author | plf <plf@google.com> | Thu Jun 04 00:30:34 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jun 04 00:31:53 2020 -0700 |
tree | ee993fda41f2720aeb79f587baf8ba949f7ec558 | |
parent | a111a2150abe775a001ce0ee756d1bd7f8677bf7 [diff] |
C++: Fix crash with repeated precompiled library in srcs With a precompiled library repeated in the srcs of a cc_library we got a crash when trying to add them both to an immutable map because they had the same identifier. Since it's probably undesired behavior to link the same library twice built in different configurations which is what happened as originally reported in b/156775573, the behavior will still be an error, a proper error though instead of a crash. RELNOTES:none PiperOrigin-RevId: 314680827
{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