Skip to content

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

Closed
@stefanb

Description

@stefanb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    known-issueThis issue is known to us, we are working on it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions