Skip to content

Comments

feat: support Go 1.26#898

Merged
AsterDY merged 5 commits intomainfrom
feat/go1.26
Jan 22, 2026
Merged

feat: support Go 1.26#898
AsterDY merged 5 commits intomainfrom
feat/go1.26

Conversation

@AsterDY
Copy link
Collaborator

@AsterDY AsterDY commented Jan 19, 2026

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:

  • loader: add epclntab field
  • rt: relink GoMapIterator
  • rt: new GoType.Indirect implementation following go1.26 change
    zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@AsterDY AsterDY merged commit 97eeff6 into main Jan 22, 2026
36 checks passed
@AsterDY AsterDY deleted the feat/go1.26 branch January 22, 2026 10:03
@stefanb
Copy link

stefanb commented Jan 22, 2026

@stefanb
Copy link

stefanb commented Jan 22, 2026

Building everything within this repo with go1.26rc2 on afa2fce, which includes changes from this PR still fails:

$ git describe
loader/v0.3.0-27-gafa2fce
$ go1.26rc2 build -v ./...
github.com/bytedance/sonic/loader/internal/abi
# github.com/bytedance/sonic/loader/internal/abi
loader/internal/abi/abi.go:30:12: undefined: Parameter
loader/internal/abi/abi.go:31:12: undefined: Parameter
loader/internal/abi/abi.go:92:42: undefined: Parameter
loader/internal/abi/abi.go:98:16: undefined: PtrSize
loader/internal/abi/abi.go:129:23: undefined: ReservedRegs
loader/internal/abi/abi.go:131:16: undefined: PtrSize
loader/internal/abi/abi.go:136:16: undefined: PtrSize
loader/internal/abi/abi.go:143:26: undefined: PtrSize
loader/internal/abi/abi.go:147:33: undefined: PtrSize
loader/internal/abi/abi.go:151:23: undefined: ReservedRegs
loader/internal/abi/abi.go:151:23: too many errors

stefanb added a commit to stefanb/nuclei that referenced this pull request Feb 6, 2026
…pport

Update https://github.com/bytedance/sonic to https://github.com/bytedance/sonic/releases/tag/v1.15.0
For
* bytedance/sonic#898

Found in
* Homebrew/homebrew-core#258912

Upgraded by performing:

```
$ go1.26rc3 build -v ./...
github.com/bytedance/sonic/internal/rt
# github.com/bytedance/sonic/internal/rt
../../../go/pkg/mod/github.com/bytedance/sonic@v1.14.0/internal/rt/stubs.go:33:22: undefined: GoMapIterator
../../../go/pkg/mod/github.com/bytedance/sonic@v1.14.0/internal/rt/stubs.go:36:54: undefined: GoMapIterator
$ go get github.com/bytedance/sonic@latest && go mod tidy
go: added github.com/bytedance/gopkg v0.1.3
go: upgraded github.com/bytedance/sonic v1.14.0 => v1.15.0
go: upgraded github.com/bytedance/sonic/loader v0.3.0 => v0.5.0
go: upgraded github.com/cloudwego/base64x v0.1.5 => v0.1.6
$ go1.26rc3 build -v ./...
$
```
dwisiswant0 added a commit to projectdiscovery/nuclei that referenced this pull request Feb 11, 2026
…pport (#6841)

* chore(deps): bump github.com/bytedance/sonic to 1.15.0 for Go 1.26 support

Update https://github.com/bytedance/sonic to https://github.com/bytedance/sonic/releases/tag/v1.15.0
For
* bytedance/sonic#898

Found in
* Homebrew/homebrew-core#258912

Upgraded by performing:

```
$ go1.26rc3 build -v ./...
github.com/bytedance/sonic/internal/rt
# github.com/bytedance/sonic/internal/rt
../../../go/pkg/mod/github.com/bytedance/sonic@v1.14.0/internal/rt/stubs.go:33:22: undefined: GoMapIterator
../../../go/pkg/mod/github.com/bytedance/sonic@v1.14.0/internal/rt/stubs.go:36:54: undefined: GoMapIterator
$ go get github.com/bytedance/sonic@latest && go mod tidy
go: added github.com/bytedance/gopkg v0.1.3
go: upgraded github.com/bytedance/sonic v1.14.0 => v1.15.0
go: upgraded github.com/bytedance/sonic/loader v0.3.0 => v0.5.0
go: upgraded github.com/cloudwego/base64x v0.1.5 => v0.1.6
$ go1.26rc3 build -v ./...
$
```

* chore(utils): update version range for json

bytedance/sonic, to include 1.26

Signed-off-by: Dwi Siswanto <git@dw1.io>

---------

Signed-off-by: Dwi Siswanto <git@dw1.io>
Co-authored-by: Dwi Siswanto <git@dw1.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants