Veritius / bevy_stardust

A flexible networking crate for Bevy.
Apache License 2.0
36 stars 0 forks source link

Hashing feature flag doesn't work on targets without AES intrinsics #31

Open Veritius opened 3 months ago

Veritius commented 3 months ago

gxhash requires AES-NI and SSE2 intrinsics on x86-64 and AES and NEON intrinsics on ARM. Without these, it won't compile, since there's no fallback for processors lacking these intrinsics. Since gxhash is used in the hashing feature flag, any project using Stardust with this flag will suffer from compile failures. Tracking issue for a fallback is here: https://github.com/ogxd/gxhash/issues/47

omkarium commented 3 months ago

Is there a solution to this? I am passing -C target-feature=aes but rust docs are failing

Veritius commented 2 months ago

Is there a solution to this? I am passing -C target-feature=aes but rust docs are failing

I'm not sure, you'd have to ask the author of gxhash.