optimize the arm64 OR arm32 check

This commit is contained in:
chandde 2019-05-17 20:45:25 -07:00
parent ba3785ec0a
commit 70f78b3f8c

View File

@ -42,7 +42,7 @@ use term;
// libtest won't be fully functional on these platforms.
//
// See also: https://github.com/rust-lang/rust/issues/54190#issuecomment-422904437
#[cfg(not(any(all(windows, target_arch = "aarch64"), all(windows, target_arch = "arm"))))]
#[cfg(not(all(windows, any(target_arch = "aarch64", target_arch = "arm"))))]
extern crate panic_unwind;
pub use self::ColorConfig::*;