golang / protobuf

Go support for Google's protocol buffers
BSD 3-Clause "New" or "Revised" License
9.74k stars 1.58k forks source link

ProtoBuf Support For M1 chip #1538

Closed aksrazor closed 1 year ago

aksrazor commented 1 year ago

proto generate throws and error **"unsupported value for runtime.GOARCH: arm64 make: * [proto-generate] Error 1" any fix for this

puellanivis commented 1 year ago

What does go version print?

aksrazor commented 1 year ago

go1.18 darwin/arm64

any solutions you have to fix the above issue

puellanivis commented 1 year ago

Is your Makefile trying to run a binary named prototool? I ask, because this error does not appear in any protobuf code, and only apparently appears in github.com/uber/prototool and forks.

So far as I can tell, this has nothing to do with any code under support of any protobuf team, but is rather a bug in that specific project.

puellanivis commented 1 year ago

Closing as this is likely an issue with a different project, not us.