roll: pigweed pw_protobuf: Force use of callbacks for oneof
pw_protobuf's message structures previously generated each of the
members of a oneof group as a separate struct member, allowing multiple
of them to be set to serialize semantically-invalid wire messages.
This replaces oneof struct member generation with a single callback for
the entire oneof group, allowing the user to encode/decode the desired
oneof field using the wire stream encoder and decoder.
The old oneof behavior is kept behind a protoc plugin flag to aid
downsteam migration. This flag is currently only activated in Bazel
builds.
Original-Bug: 373693434
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/242392
Original-Revision: 205570386eac8fe6e0269b7fbbab1449eb565036
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 6ae64ef2889810..205570386eac8f
Roll-Count: 1
Roller-URL: https://ci.chromium.org/b/8733875278995877537
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Ic7dbac3bd75579542225e51ba6557b23db9760d8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/242852
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index d616229..fe10dcc 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -47,18 +47,18 @@
git_override(
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
- # ROLL: Last updated 2024-10-16.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8733894332032585473.
- commit = "6ae64ef2889810d43682b85e0c793018ae9a507c",
+ # ROLL: Last updated 2024-10-17.
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8733875278995877537.
+ commit = "205570386eac8fe6e0269b7fbbab1449eb565036",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
git_override(
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
- # ROLL: Last updated 2024-10-16.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8733894332032585473.
- commit = "6ae64ef2889810d43682b85e0c793018ae9a507c",
+ # ROLL: Last updated 2024-10-17.
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8733875278995877537.
+ commit = "205570386eac8fe6e0269b7fbbab1449eb565036",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)