francoispqt / gojay

high performance JSON encoder/decoder with stream API for Golang
MIT License
2.11k stars 113 forks source link

Go test build fails under 32-bit systems #146

Open rogers0 opened 4 years ago

rogers0 commented 4 years ago

build error log:

github.com/francoispqt/gojay/gojay
   dh_auto_test -a -O--buildsystem=golang
    cd obj-i686-linux-gnu && go test -vet=off -v -p 4 github.com/francoispqt/gojay github.com/francoispqt/gojay/benchmarks github.com/francoispqt/gojay/benchmarks/decoder github.com/francoispqt/gojay/benchmarks/encoder github.com/francoispqt/gojay/examples/encode-decode-map github.com/francoispqt/gojay/examples/fuzz github.com/francoispqt/gojay/examples/http-benchmarks/gojay github.com/francoispqt/gojay/examples/http-benchmarks/standard github.com/francoispqt/gojay/examples/http-json github.com/francoispqt/gojay/examples/websocket github.com/francoispqt/gojay/examples/websocket/client github.com/francoispqt/gojay/examples/websocket/comm github.com/francoispqt/gojay/examples/websocket/server github.com/francoispqt/gojay/gojay github.com/francoispqt/gojay/gojay/codegen github.com/francoispqt/gojay/gojay/codegen/test/annotated_struct github.com/francoispqt/gojay/gojay/codegen/test/basic_struct github.com/francoispqt/gojay/gojay/codegen/test/embedded_struct github.com/francoispqt/gojay/gojay/codegen/test/pooled_struct
# github.com/francoispqt/gojay [github.com/francoispqt/gojay.test]
src/github.com/francoispqt/gojay/decode_array_test.go:32:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:37:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:53:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:58:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_array_test.go:65:43: constant 43567788543 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:71:4: constant 9223372036854775807 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:139:4: constant 50100000000 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:373:4: constant 9223372036854775807 overflows int
src/github.com/francoispqt/gojay/decode_number_int_test.go:441:4: constant 50100000000 overflows int
src/github.com/francoispqt/gojay/encode_number_test.go:32:16: constant 9223372036854775807 overflows int
src/github.com/francoispqt/gojay/encode_number_test.go:32:16: too many errors
FAIL    github.com/francoispqt/gojay [build failed]
?       github.com/francoispqt/gojay/benchmarks [no test files]

Reference: