Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-test failure on 32-bit i386 platform #19

Open
jas4711 opened this issue Jan 30, 2025 · 0 comments
Open

Self-test failure on 32-bit i386 platform #19

jas4711 opened this issue Jan 30, 2025 · 0 comments

Comments

@jas4711
Copy link

jas4711 commented Jan 30, 2025

Hi! I'm packaging your project for inclusion into Debian. Do you have any generic considerations related to that? While doing so I noticed that one of the self-tests fail on 32-bit platforms. Do you have some idea how to rewrite this so it works on 32-bit archs too?

# github.com/nlpodyssey/gopickle/pickle [github.com/nlpodyssey/gopickle/pickle.test]
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:101:42: cannot use 100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:106:43: cannot use -100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:357:50: cannot use 100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
src/github.com/nlpodyssey/gopickle/pickle/pickle_test.go:362:62: cannot use -100200300400 (untyped int constant) as int value in argument to loadsNoErrEqual (overflows)
FAIL	github.com/nlpodyssey/gopickle/pickle [build failed]

Thanks,
Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant