protobuf-go/internal
David Chase 2087447a6b internal/strs: use go1.20 unsafe interface for strings
This is slightly more efficient and removes explicit dependence
on string layout and alignment.  Build tags control use.

Because of what is arguably a bug in go 1.20's treatment of build tags,
is build-tagged to go1.21, not go1.20.  (1.20 sees that it matches the
build tag and tries to compile the file, but then demands that it only use
language features from the version mentioned in go.mod. Go 1.21 and 1.22
behave more sensibly.)

Change-Id: I0cfc3b2e5651595edd3a82d9071d918700f961cd
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/545195
Reviewed-by: Cassondra Foesch <cfoesch@gmail.com>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Lasse Folger <lassefolger@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-11-28 09:45:19 +00:00
..
benchmarks internal/benchmarks: make download_benchdata print an error 2023-11-03 08:27:41 +00:00
cmd internal/impl: preallocate memory when unmarshalling packed repeated fields 2023-10-12 06:52:24 +00:00
conformance encoding/protojson: ignore unknown enum name if DiscardUnknown=true 2023-09-08 10:59:01 +00:00
descfmt all: avoid non-const reflect.MethodByName calls 2023-10-03 07:25:07 +00:00
descopts
detrand
encoding encoding: add MarshalAppend to protojson and prototext 2023-05-01 15:10:15 +00:00
errors
filedesc
filetype
flags
fuzz
fuzztest
genid types/descriptorpb: regenerate using latest protobuf v25.0-rc2 release candidate 2023-10-27 08:25:48 +00:00
impl internal/impl: preallocate memory when unmarshalling packed repeated fields 2023-10-12 06:52:24 +00:00
msgfmt
order internal/order: fix sorting of synthetic oneofs to be deterministic 2023-05-25 07:36:46 +00:00
pragma
protobuild
protolegacy
set
strs internal/strs: use go1.20 unsafe interface for strings 2023-11-28 09:45:19 +00:00
testprotos types/descriptorpb: regenerate using latest protobuf v25.0-rc2 release candidate 2023-10-27 08:25:48 +00:00
version all: start v1.31.0-devel 2023-06-26 11:17:47 +00:00
weakdeps