zstd-rs icon indicating copy to clipboard operation
zstd-rs copied to clipboard

XXH_STATIC_ASSERT=0 set in zstd-sys's build script breaks compilation in 2.0.10

Open juntyr opened this issue 1 year ago • 1 comments

zstd/lib/common/xxhash.h:3157:22: error: called object type 'int' is not a function or function pointer
    cargo:warning=    XXH_STATIC_ASSERT(sizeof(XXH32_canonical_t) == sizeof(XXH32_hash_t));

juntyr avatar Mar 28 '24 03:03 juntyr

We hit this in arrow-rs as well https://github.com/apache/arrow-rs/issues/5565

alamb avatar Mar 29 '24 10:03 alamb

Hello, I don't have the error with 2.0.11+zstd.1.5.6, is it fixed ?

FirelightFlagboy avatar Aug 19 '24 09:08 FirelightFlagboy

Yes, it was fixed for me with 2.0.11 as well

juntyr avatar Aug 19 '24 15:08 juntyr