bytedance/sonic

Incompatible with Go 1.23, which doesn't allow //go:linkname to internal symbols, including to runtime package

stefanb opened this issue · 3 comments

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

It is used several times in this module, see:
https://github.com/search?q=repo%3Abytedance%2Fsonic%20linkname&type=code

got the same issue from cloudwego/hertz.

We are handling this. Please wait for a while

Thanks, i see you have already