Skip to content

Fails to build with Go 1.25 #121

@stefanb

Description

@stefanb

👋 When trying to build it with Go 1.25 (rc3) in

The build failed with:

  # github.com/bytedance/sonic/internal/rt
  /Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/bytedance/sonic@v1.13.3/internal/rt/stubs.go:33:22: undefined: GoMapIterator
  /Users/brew/Library/Caches/Homebrew/go_mod_cache/pkg/mod/github.com/bytedance/sonic@v1.13.3/internal/rt/stubs.go:36:54: undefined: GoMapIterator

Mcphost is still using

mcphost/go.mod

Line 10 in d3f9759

github.com/bytedance/sonic v1.13.3

This should be upgraded to 1.14.0 (or later) to get upstream fix:

Please note, that Go 1.25 is scheduled for release in August.

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