Skip to content

Build with Go 1.26 fails: internal/rt/stubs.go: undefined: GoMapIterator #895

@stefanb

Description

@stefanb

When trying to build with Go 1.26rc1 the build fails with:

# github.com/bytedance/sonic/internal/rt 

/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/bytedance/[email protected]/internal/rt/stubs.go:33:22: undefined: GoMapIterator 

/Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/bytedance/[email protected]/internal/rt/stubs.go:36:54: undefined: GoMapIterator 

Same applies also to currently latest release 1.14.2.

See multiple failures downstream:

Previous related PRs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions