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
{{ message }}
Repository navigation
cmd/compile: allow body-less functions under -complete flag if they have a //go:linkname attribute #23311
Currently the -complete flag (which is automatically set by cmd/go for packages without assembly source) disallows function declarations without a body. We should relax this to still allow function declarations without a body as long as they have a //go:linkname attribute.
Reacted by Mark Pulford, Tom Thorogood and J. Emrys Landivar
Activity
gopherbot commentedon Nov 26, 2018
Change https://golang.org/cl/151318 mentions this issue:
cmd/compile: allow bodyless function if it is linkname'dcmd/compile: allow bodyless function if it is linkname'd