Commit graph

8 commits

Author SHA1 Message Date
Protobuf Team Bot
06afcbd65b RustProto: add serialized_len()->usize
PiperOrigin-RevId: 904638364
2026-04-23 14:34:21 -07:00
Protobuf Team Bot
b7e5d60e5d Automated Code Change
PiperOrigin-RevId: 825945840
2025-10-30 02:55:48 -07:00
Protobuf Team Bot
793dbb91b6 Expose unstable message descriptor getter to Rust.
PiperOrigin-RevId: 822582353
2025-10-22 07:43:06 -07:00
Protobuf Team Bot
a9d0fd2406 Automated rollback of commit c381fa449c.
PiperOrigin-RevId: 820944027
2025-10-17 21:32:55 -07:00
Protobuf Team Bot
c381fa449c Expose unstable message descriptor getter to Rust.
PiperOrigin-RevId: 820862343
2025-10-17 16:12:08 -07:00
Protobuf Team Bot
0efc4d1afc Fix rust-cpp parse FFI to use PtrAndLen instead of SerializedData
PiperOrigin-RevId: 764746425
2025-05-29 08:57:07 -07:00
Protobuf Team Bot
7d609666b6 Add Message_parse_dont_enforce_required to Rust C++ proto wrapper.
PiperOrigin-RevId: 755782611
2025-05-07 03:58:16 -07:00
Adam Cozzette
7f395af40e Replace some per-message C++ thunks with a common implementation
This change adds delete, clear, serialize, parse, copy_from, and merge_from
operations to the runtime. Since these operations can all be implemented easily
on the `MessageLite` interface, we can use a common implementation in the
runtime instead of generating per-message thunks for all of these.

I suspect this will also make it possible to remove some of our generated trait
implementations and replace them with blanket implementations, but I will leave
that for a future change.

PiperOrigin-RevId: 665910927
2024-08-21 09:34:25 -07:00