Fixes
- Fix anonymous executable-memory allocation on BSD by passing
-1as the file descriptor tommapwithMAP_ANON. This fixes theinvalid argumentfailure 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: 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.