Create the concept of 'owned data' in upb/rust as a generalization of the upb.rs...
commit734729afc2ace9dc33e41b91a34fd16bb53594d9
authorProtobuf Team Bot <protobuf-github-bot@google.com>
Wed, 24 Apr 2024 19:25:37 +0000 (24 12:25 -0700)
committerCopybara-Service <copybara-worker@google.com>
Wed, 24 Apr 2024 19:28:07 +0000 (24 12:28 -0700)
treec117b1a3b8feeedeb75d47d613cc9793b078814f
parentef020875349635ba2bdefe4ef294dcee54500766
Create the concept of 'owned data' in upb/rust as a generalization of the upb.rs SerializedData (which is a arena + data for arbitrary types, both thin and wide ref types), use that for the wire parse/serialize path.

PiperOrigin-RevId: 627814154
rust/upb.rs
rust/upb/BUILD
rust/upb/arena.rs
rust/upb/lib.rs
rust/upb/message.rs
rust/upb/owned_arena_box.rs [new file with mode: 0644]
rust/upb/wire.rs
src/google/protobuf/compiler/rust/message.cc