commit | edafb194dc0ce234501f5f4c771ef7f3d5ff7bad | [log] [tgz] |
---|---|---|
author | Ian McKellar <ianloic@google.com> | Wed Oct 04 19:22:16 2023 +0000 |
committer | Rob Mohr <mohrr@google.com> | Thu Nov 16 10:59:43 2023 -0800 |
tree | 7f42e70e4eae2431e6fbd5d678ef49d80680b283 | |
parent | 69b771566742bddc32f0ea6381a6ddcfd2946cfa [diff] |
[fidl][cpp] Flatten C++ layers This should get rid of everything but the _cpp and _cpp_testing targets for new-style C++ bindings. It turns out that we can just rely on the linker to throw away unused code rather than imposing the complexity on engineers or the build system Currently _cpp_wire and _cpp_natural_ostream still live because they're used out of tree, but they will be cleaned up soon. This is takes my gen time (per `hyperfine 'gn gen out/default'`) from 33.1s to 29.0s - a ~15% reduction. Change-Id: If66fc301e44d48a4dd71a737d3c204d43475825c Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/924835 Reviewed-by: Suraj Malhotra <surajmalhotra@google.com> Fuchsia-Auto-Submit: Ian McKellar <ianloic@google.com> Reviewed-by: Mitchell Kember <mkember@google.com> API-Review: Adam Barth <abarth@google.com> Commit-Queue: Ian McKellar <ianloic@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.