yggdrasil-go icon indicating copy to clipboard operation
yggdrasil-go copied to clipboard

Fix Android build with Go 1.23.0 or later

Open bobrofon opened this issue 6 months ago • 1 comments

The github.com/wlynxg/anet library depends on the //go:linkname linker feature [1]. However, since Go 1.23.0, the usage of //go:linkname has been restricted [2]. And now it's necessary to explicitly specify -checklinkname=0 linker flag to use it.

[1] https://github.com/wlynxg/anet/blob/main/README.md#how-to-build-with-go-1230-or-later [2] https://tip.golang.org/doc/go1.23#linker

Resolves: #1165

bobrofon avatar Aug 23 '24 23:08 bobrofon