fix: protobuf cause various binaries are significantly bigger when building with Go 1.26

This commit is contained in:
wwqgtxx
2026-03-06 11:38:10 +08:00
parent df1a244de7
commit a2bf158b20
2 changed files with 5 additions and 2 deletions

3
go.mod
View File

@@ -116,3 +116,6 @@ require (
golang.org/x/time v0.10.0 // indirect
golang.org/x/tools v0.24.0 // indirect
)
// for https://github.com/golang/protobuf/issues/1704
replace google.golang.org/protobuf => github.com/metacubex/protobuf-go v0.0.0-20260306035419-7ceee0674686