Skip to content

FTBFS on all 32-bit architectures: "cannot use math.MaxInt64"

Gitlab Runner FTBFS on all 32-bit architectures as follows:

# gitlab.com/gitlab-org/gitlab-runner/common/buildtest
src/gitlab.com/gitlab-org/gitlab-runner/common/buildtest/masking.go:48:32: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in argument to buf.Bytes (overflows)