Fix tidy errors

This commit is contained in:
Jordan Rhee
2018-09-07 08:41:16 -07:00
parent b081a49a07
commit 54a16aea6a
2 changed files with 2 additions and 3 deletions

View File

@@ -119,8 +119,6 @@ mod imp {
} }
} }
// TODO: this needs to be validated when WinEH for ARM is implemented in LLVM
// It looks like ARM and ARM64 use the same _TypeInfo semantics as x64
#[cfg(any(target_arch = "x86_64", target_arch = "arm"))] #[cfg(any(target_arch = "x86_64", target_arch = "arm"))]
#[macro_use] #[macro_use]
mod imp { mod imp {

View File

@@ -833,7 +833,8 @@ pub struct CONTEXT {
// will not appear in the final documentation. This should be also defined for // will not appear in the final documentation. This should be also defined for
// other architectures supported by Windows such as ARM, and for historical // other architectures supported by Windows such as ARM, and for historical
// interest, maybe MIPS and PowerPC as well. // interest, maybe MIPS and PowerPC as well.
#[cfg(all(rustdoc, not(any(target_arch = "x86_64", target_arch = "x86", target_arch = "aarch64", target_arch = "arm"))))] #[cfg(all(rustdoc, not(any(target_arch = "x86_64", target_arch = "x86",
target_arch = "aarch64", target_arch = "arm"))))]
pub enum CONTEXT {} pub enum CONTEXT {}
#[cfg(target_arch = "aarch64")] #[cfg(target_arch = "aarch64")]