Closed ayn2op closed 1 month ago
The std::env::consts::ARCH constant can be used instead of computing the value for every call to the function.
std::env::consts::ARCH
Interested into sending a PR?
Should the function fallback to std::env::consts::ARCH if SystemInner::cpu_arch returns None?
SystemInner::cpu_arch
None
Sounds good to me!
The
std::env::consts::ARCH
constant can be used instead of computing the value for every call to the function.