Skip to content

Commit 70f78b3

Browse files
committed
optimize the arm64 OR arm32 check
1 parent ba3785e commit 70f78b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtest/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use term;
4242
// libtest won't be fully functional on these platforms.
4343
//
4444
// See also: https://github.com/rust-lang/rust/issues/54190#issuecomment-422904437
45-
#[cfg(not(any(all(windows, target_arch = "aarch64"), all(windows, target_arch = "arm"))))]
45+
#[cfg(not(all(windows, any(target_arch = "aarch64", target_arch = "arm"))))]
4646
extern crate panic_unwind;
4747

4848
pub use self::ColorConfig::*;

0 commit comments

Comments
 (0)