Closed
Description
When installing according to the instructions in the README:
go install github.com/gopherjs/gopherjs@v1.19.0-beta1
On an amd64 darwin machine running Go 1.23.1, I get this final line of output:
link: github.com/visualfc/goembed/parser: invalid reference to go/build.parseGoEmbed
Doing a little digging, it seems like this is because goembed uses the //go:linkname
directive to access Go's own internal parseGoEmbed
function, which as of 1.23 is apparently not allowed.
As a workaround, I can confirm that -ldflags=-checklinkname=0
works to roll back this new behavior temporarily, maybe this should be documented in the README until this issue is resolved more cleanly?
Metadata
Metadata
Assignees
Labels
No labels