You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to run the tests on any 32bit architecture results in the following error:
# github.com/rabbitmq/amqp091-go_test [github.com/rabbitmq/amqp091-go.test]
src/github.com/rabbitmq/amqp091-go/examples_test.go:535:39: cannot use 5_000_000_000 (untyped int constant 5000000000) as int value in map literal (overflows)
FAIL github.com/rabbitmq/amqp091-go [build failed]
FAIL
Explicitly defining that constant as an int64 fixes the issue:
Describe the bug
Attempting to run the tests on any 32bit architecture results in the following error:
Explicitly defining that constant as an
int64
fixes the issue:(Seen while updating the Debian packaging for this library.)
Reproduction steps
Run the tests on an i386, armel, or armhf system.
Expected behavior
Everything works on both 32 and 64 bit systems. :)
Additional context
No response
The text was updated successfully, but these errors were encountered: