Closed danielocfb closed 8 months ago
As per #257, it appears as if std::env::consts::ARCH does not get updated to the target architecture in a cross-compilation context. Switch to using the CARGO_CFG_TARGET_ARCH environment variable in the hopes that we get the desired behavior.
std::env::consts::ARCH
CARGO_CFG_TARGET_ARCH
Great, thanks for fixing!
As per #257, it appears as if
std::env::consts::ARCH
does not get updated to the target architecture in a cross-compilation context. Switch to using theCARGO_CFG_TARGET_ARCH
environment variable in the hopes that we get the desired behavior.