commit | 75f1c7dbc076a8c76d419270d9e41e371a1b417b | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@pigweed.infra.roller.google.com> | Thu Oct 17 00:27:22 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 17 00:27:22 2024 +0000 |
tree | a2b7b5cf2f92a223bb2498bc918c4e33842b06dd | |
parent | ccada790c917061d85d1cbc83b8eac741994c393 [diff] |
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/8733875268061214993 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I1ef6f11f59cd0b2f99a913f37cfbf06dde4d09cb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/242832 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>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.