Aller au contenu
login
arrow_backRetour aux issues
flyingmutant/rapid #96

Failing support on 32-bit systems (at least test suite)

ecoDébutant bug good first issue

descriptionDescription

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: * for the build failure: https://salsa.debian.org/go-team/packages/golang-pgregory-rapid/-/jobs/9626754#L1027 * for the test failure: https://salsa.debian.org/go-team/packages/golang-pgregory-rapid/-/jobs/9660369#L4992
codeOuvre sur GitHub