Download Latest Version v1.15.5 source code.zip (3.8 MB) Google Add to Preferred Sources
Home / loader_v0.5.3
Name Modified Size InfoDownloads / Week
Parent folder
loader_v0.5.3 source code.tar.gz 2026-10-21 3.4 MB
loader_v0.5.3 source code.zip 2026-10-21 3.8 MB
README.md 2026-10-21 783 Bytes
Totals: 3 Items   7.2 MB 0

Fixes

  • Fix anonymous executable-memory allocation on BSD by passing -1 as the file descriptor to mmap with MAP_ANON. This fixes the invalid argument failure reported in #962. (#902)

This patch changes no public API. Relative to loader/v0.5.2, the loader module contains only the mmap descriptor fix and formatting changes.

Full changelog: https://github.com/bytedance/sonic/compare/loader/v0.5.2...loader/v0.5.3

Validation

  • Loader race tests passed on Linux/amd64 with Go 1.24.13 and Go 1.27.0, with GOWORK=off.
  • Loader test binaries cross-compiled successfully for FreeBSD/amd64 and macOS/amd64 with Go 1.27.0. BSD runtime tests were not executed locally.
Source: README.md, updated 2026-10-21