Update lib.rs

This commit is contained in:
chandde 2019-05-14 17:00:48 -07:00 committed by GitHub
parent 372be4f360
commit b5febe72bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,12 +37,12 @@ extern crate libc;
use term; use term;
// FIXME(#54291): rustc and/or LLVM don't yet support building with panic-unwind // FIXME(#54291): rustc and/or LLVM don't yet support building with panic-unwind
// on aarch64-pc-windows-msvc, so we don't link libtest against // on aarch64-pc-windows-msvc, or thumbv7a-pc-windows-msvc, so we don't link libtest against
// libunwind (for the time being), even though it means that // libunwind (for the time being), even though it means that
// libtest won't be fully functional on this platform. // libtest won't be fully functional on these platforms.
// //
// See also: https://github.com/rust-lang/rust/issues/54190#issuecomment-422904437 // See also: https://github.com/rust-lang/rust/issues/54190#issuecomment-422904437
#[cfg(not(all(windows, target_arch = "aarch64")))] #[cfg(not(any(all(windows, target_arch = "aarch64"), all(windows, target_arch = "arm"))))]
extern crate panic_unwind; extern crate panic_unwind;
pub use self::ColorConfig::*; pub use self::ColorConfig::*;