roll: pigweed pw_allocator: Add BlockResult
This CL improves on the previously introduced BlockAllocType to
communicate both the result of allocator requests as well as
side-effects to neighboring blocks.
Instead of being a simple enum and returning a `Result<BlockAllocType>`
from methods like `AllocFirst` and `AllocLast`, `BlockResult` uses
`StatusWithSize` to fit in a single word, and encodes separate values to
for both the previous and next blocks to inidcate how they have changed.
Additionally, `Resize` has been updated to return a `BlockResult`.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/232212
Original-Revision: d3a6358972d5897266e2b5ecf50681a8e8456e5b
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 87f43fec003b4b..d3a6358972d589
Roller-URL: https://ci.chromium.org/b/8734694864045651873
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I76dc8c2c14b0324e90bf669141f14a1807ed6f28
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/240696
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 352a8f9..fa135e5 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -50,8 +50,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-07.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8734696786857186577.
- commit = "87f43fec003b4befd74b2362962a76dff7105253",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8734694864045651873.
+ commit = "d3a6358972d5897266e2b5ecf50681a8e8456e5b",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -59,8 +59,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-07.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8734696786857186577.
- commit = "87f43fec003b4befd74b2362962a76dff7105253",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8734694864045651873.
+ commit = "d3a6358972d5897266e2b5ecf50681a8e8456e5b",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)