You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use Package and Implements calls to implement a stub, and the stub is only in a file tagged _amd64.go, generation will fail if run on e.g. darwin/arm64.
This can be worked around by simply adding the following two lines to main().
This is mostly an annoyance, but it could led to incorrect code being generated if a function with the same name but with different types is defined in a non-amd64 file which matches the host.
The text was updated successfully, but these errors were encountered:
If you use Package and Implements calls to implement a stub, and the stub is only in a file tagged
_amd64.go
, generation will fail if run on e.g. darwin/arm64.This can be worked around by simply adding the following two lines to
main()
.This is mostly an annoyance, but it could led to incorrect code being generated if a function with the same name but with different types is defined in a non-amd64 file which matches the host.
The text was updated successfully, but these errors were encountered: