mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-02-10 21:40:18 +00:00
We jump through many hoops to avoid generated protos depending on internal/legacy. Break the cycle in the other direction: Remove the dependency on descriptor.proto from internal/legacy by using a hand-written parser for the few descriptor fields we need. Still to do: Remove the descriptor.proto dependency from internal/encoding/tag. Change-Id: I5fd99a2170470ba8530eb2679b6dde899821bf3e Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/171457 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>