Files
SpotiFLAC-Mobile/go_backend/go.mod
T
zarzet bd9b98b942 fix(go): build with Go 1.26.5 for aligned cgo frames, safe on arm32
Fixes the random gobind crash 'bulkBarrierPreWrite: unaligned arguments'
(golang/go#46893; cgo aligns exported-function argument frames since
1.26.0). The earlier 1.26 rollback (cdc58367) was the arm32 SIGSYS from
probing futex_time64 under seccomp on Android <=10 — fixed in 1.26.3 by
gating time64 syscalls on kernel >= 5.1 instead of probing (verified in
the 1.26.5 runtime source, which names Android 8-10 explicitly).
go directive carries the full patch version so gomobile's synthesized
bind module picks the same toolchain.
2026-07-14 12:20:53 +07:00

31 lines
1.1 KiB
AMPL

module github.com/zarz/spotiflac_android/go_backend
// Needs >= 1.26.3: fixes the cgo "bulkBarrierPreWrite" crash (golang/go#46893)
// without the 1.26.0-1.26.2 arm32 SIGSYS regression (golang/go#78936).
// Full patch version here because gomobile's bind module inherits it.
go 1.26.5
require (
github.com/dop251/goja v0.0.0-20260701091749-b07b74453ea9
github.com/go-flac/flacpicture/v2 v2.0.2
github.com/go-flac/flacvorbis/v2 v2.0.2
github.com/go-flac/go-flac/v2 v2.0.4
github.com/refraction-networking/utls v1.8.2
golang.org/x/crypto v0.54.0
golang.org/x/mobile v0.0.0-20260709172247-6129f5bee9d5
golang.org/x/net v0.57.0
golang.org/x/text v0.40.0
)
require (
github.com/andybalholm/brotli v1.2.2 // indirect
github.com/dlclark/regexp2/v2 v2.2.2 // indirect
github.com/go-sourcemap/sourcemap v2.1.4+incompatible // indirect
github.com/google/pprof v0.0.0-20260709232956-b9395ee17fa0 // indirect
github.com/klauspost/compress v1.19.0 // indirect
golang.org/x/mod v0.38.0 // indirect
golang.org/x/sync v0.22.0 // indirect
golang.org/x/sys v0.47.0 // indirect
golang.org/x/tools v0.48.0 // indirect
)