You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 months ago
..
cargo
Create an initial version of protobuf-codegen. This exposes an initial working version of codegen for use with cargo.
8 months ago
cpp_kernel
Replace some per-message C++ thunks with a common implementation
7 months ago
protobuf_codegen
fix the crate name being used by the gencode library.
8 months ago
test
hpb cleanup: abrogate protos::{ClearMessage,CloneMessage,CreateMessage,DeepCopy} with hpb::{...}
7 months ago
upb
Switch AssociatedMiniTable to a fn from an associated const.
7 months ago
BUILD
Fix broken github_only comment in cargo build rule
8 months ago
aspects.bzl
Automated Code Change
8 months ago
codegen_traits.rs
Change CppInterop traits to operate on *const or *mut c_void instead of protobuf::__runtime::RawMessage
7 months ago
cord.rs
Add an protobuf::__internal::SealedInternal trait
8 months ago
cpp.rs
Replace some per-message C++ thunks with a common implementation
7 months ago
defs.bzl
Internal
8 months ago
enum.rs
Implement `is_known` method on the `Enum` trait
11 months ago
internal.rs
Add an protobuf::__internal::SealedInternal trait
8 months ago
map.rs
Rename `#[googletest::test]` to `#[gtest]`
7 months ago
optional.rs
Remove the second 'unset' generic argument from Optional
8 months ago
prelude.rs
Move `msg.merge_from(othermsg)` onto a trait fn
8 months ago
primitive.rs
Add an protobuf::__internal::SealedInternal trait
8 months ago
proto_macro.rs
Move `msg.merge_from(othermsg)` onto a trait fn
8 months ago
protobuf.rs
Introduce a prelude and remove the inherent impls for serialize()
8 months ago
proxied.rs
Rename `#[googletest::test]` to `#[gtest]`
7 months ago
repeated.rs
Rename `#[googletest::test]` to `#[gtest]`
7 months ago
shared.rs
Move `msg.merge_from(othermsg)` onto a trait fn
8 months ago
string.rs
Rename `#[googletest::test]` to `#[gtest]`
7 months ago
upb.rs
Add an protobuf::__internal::SealedInternal trait
8 months ago
utf8.rs
Adds an initial Cargo.toml for the protobuf crate.
8 months ago