dep-protobuf/rust/cpp_kernel
Protobuf Team Bot 002f830c46 Remove Copy+Clone from MessageMutInner.
MessageMutInner was Copy+Clone, which had been convenient for some internal use. But, with them being .into() SomeMessageMut this was a potential footgun, since it was very easy to into() the same one twice which would be formally unsound if it was reachable (including that you could send each of them to a different thread and concurrently modify them).

As these were implementation detail types this is only a defensive fix and no actual soundness issues were identified.

PiperOrigin-RevId: 888615057
2026-03-24 05:52:58 -07:00
..
compare.cc Suppress failure to consume parse/serialize return values. 2025-12-05 08:01:34 -08:00
compare.h Set up for Rust-cpp Protobuf implementation message matcher. 2024-08-01 07:52:17 -07:00
debug.cc Enable MessageLite::DebugString to use Message::DebugString where possible. 2024-07-03 09:37:37 -07:00
debug.h Enable MessageLite::DebugString to use Message::DebugString where possible. 2024-07-03 09:37:37 -07:00
map.cc Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
map.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
message.cc Automated Code Change 2025-10-30 02:55:48 -07:00
message.rs Remove Copy+Clone from MessageMutInner. 2026-03-24 05:52:58 -07:00
mod.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
raw.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
repeated.cc Pass down Arena* to RepeatedPtrFieldBase::AddInternal. 2025-09-15 17:27:17 -07:00
repeated.rs Added appropriate super-traits to Enum. 2026-03-23 14:40:03 -07:00
rust_alloc_for_cpp_api.h Change to proto2_rust C prefix and proto2::rust C++ namespace 2024-07-02 11:44:17 -07:00
rust_alloc_for_cpp_api.rs Start testing against Rust edition 2024 2025-10-07 09:21:51 -07:00
serialized_data.h Make SerializedData into a POD struct. 2024-09-18 14:17:14 -07:00
string.rs Refactor: Split upb and cpp backends into submodules 2026-03-20 11:13:43 -07:00
strings.cc Make conversion functions for into c++ string types from PtrAndLen. 2024-12-10 11:15:00 -08:00
strings.h Make conversion functions for into c++ string types from PtrAndLen. 2024-12-10 11:15:00 -08:00