-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with Go 1.23, which doesn't allow //go:linkname to internal symbols, including to runtime package #1
Comments
Well, this is unfortunate. Thanks for pointing this out. I'll have to look into what to do here. |
Yeah this is going to take some work to fix. The only feasible option I see is to vendor in the contents of As a short-term workaround, this package can be used with go1.23 by adding |
As per pgavlin/text#1, a workaround for this so go 1.23 works is this ld flag -checklintname=0 until they get around to fixing it.
As per pgavlin/text#1, a workaround for this so go 1.23 works is this ld flag -checklintname=0 until they get around to fixing it.
Fixed by b51d099. |
While testing Go 1.23 rc1 in
there was an error:
Go 1.23 no longer allows
//go:linkname * runtime.*
link instructioins, seeIt is used several times in this module, see:
https://github.com/search?q=repo%3Apgavlin%2Ftext%20linkname&type=code
The text was updated successfully, but these errors were encountered: