Closed mfrischknecht closed 6 months ago
Thank you!
The MSVC-specific macros were recognized for aarch64
, but I didn't know that they were also needed for i386
and x86_64
.
Thanks again!
A new version of libaegis
was tagged, and I'm going to update the Rust crate as well.
Done!
Great, thank you very much!
I noticed that rust-aegis runs very slow when I build it with the MSVC toolchain on Windows. From what my online searches turned up, it looks like MSVC uses
_M_IX86
and_M_AMD64
for CPU architecture guards instead of__i386__
and__x86_64__
^1.This causes
libaegis
never to select any hardware accelerated implementations when built this way. I have created a simple test program that demonstrates the effect:https://sourceforge.net/p/predef/wiki/Architectures/ http://web.archive.org/web/20240211072249/https://sourceforge.net/p/predef/wiki/Architectures/ https://archive.is/jRq9r