Closed
Description
While testing Go 1.23 rc1 in
there was an error:
# github.com/hdt3213/rdb
link: github.com/bytedance/sonic/ast: invalid reference to encoding/json.safeSet
Go 1.23 no longer allows //go:linkname * runtime.*
link instructioins, see
- https://tip.golang.org/doc/go1.23#linker
- cmd/link: lock down future uses of linkname golang/go#67401
It is used several times in this module, see:
https://github.com/search?q=repo%3Abytedance%2Fsonic%20linkname&type=code