While packaging this module for Debian (as a requirement for the new https://github.com/go-openapi/testify versions, I stumbled over the test suite failing on 32-bit systems.
I started to look into fixing this, and first I fixed a build failure, but then the tests still failed, and while looking into how to fix those, I ended into a dead-end when trying to make these conditional as the tests kept failing. So went with https://salsa.debian.org/go-team/packages/golang-pgregory-rapid/-/blob/debian/sid/debian/patches/0001-Add-missing-type-casts-to-64-bit-constant-values.patch for the build failure (which unfortunately unconditionally disables a 64-bit value in the tests, instead of making it conditional or similar), and then completely disabled the tests on 32-bit systems, which is not ideal, but good enough for now.
The current build logs:
While packaging this module for Debian (as a requirement for the new https://github.com/go-openapi/testify versions, I stumbled over the test suite failing on 32-bit systems.
I started to look into fixing this, and first I fixed a build failure, but then the tests still failed, and while looking into how to fix those, I ended into a dead-end when trying to make these conditional as the tests kept failing. So went with https://salsa.debian.org/go-team/packages/golang-pgregory-rapid/-/blob/debian/sid/debian/patches/0001-Add-missing-type-casts-to-64-bit-constant-values.patch for the build failure (which unfortunately unconditionally disables a 64-bit value in the tests, instead of making it conditional or similar), and then completely disabled the tests on 32-bit systems, which is not ideal, but good enough for now.
The current build logs: