bevy_stardust icon indicating copy to clipboard operation
bevy_stardust copied to clipboard

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

Open Veritius opened this issue 11 months ago • 2 comments

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

Veritius avatar Mar 22 '24 01:03 Veritius

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

omkarium avatar Apr 17 '24 05:04 omkarium

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.

Veritius avatar Apr 24 '24 04:04 Veritius