commit | 9c7d879571717058f000a04109204a381aa3d4c1 | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Fri May 17 22:07:58 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 17 22:07:58 2024 +0000 |
tree | 8d8ca53c2104de4f66378b45e45c86e21bda4497 | |
parent | 969c75d77d2fbcf292d46dec8b1d7f1d48aba6de [diff] |
pw_unit_test: Ensure alignment of test fixtures Previously, test fixtures were always aligned to max_align_t, which was incorrect for test fixture types which required a higher alignment. This change also moves GetAlignedSubspan into pw_bytes. Change-Id: I6ac224c3a41c1e266ddd8e49410ccde2eac6a83a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/210278 Commit-Queue: Taylor Cramer <cramertj@google.com> Reviewed-by: Aaron Green <aarongreen@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.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/.