Skip to content

Commit

Permalink
Fix cfg warnings in libcoretest
Browse files Browse the repository at this point in the history
  • Loading branch information
ebfe committed Oct 11, 2014
1 parent d4ba942 commit 22cc5d5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/libcoretest/mem.rs
Expand Up @@ -19,10 +19,10 @@ fn size_of_basic() {
}

#[test]
#[cfg(target_arch = "x86")]
#[cfg(target_arch = "arm")]
#[cfg(target_arch = "mips")]
#[cfg(target_arch = "mipsel")]
#[cfg(any(target_arch = "x86",
target_arch = "arm",
target_arch = "mips",
target_arch = "mipsel"))]
fn size_of_32() {
assert_eq!(size_of::<uint>(), 4u);
assert_eq!(size_of::<*const uint>(), 4u);
Expand Down Expand Up @@ -51,10 +51,10 @@ fn align_of_basic() {
}

#[test]
#[cfg(target_arch = "x86")]
#[cfg(target_arch = "arm")]
#[cfg(target_arch = "mips")]
#[cfg(target_arch = "mipsel")]
#[cfg(any(target_arch = "x86",
target_arch = "arm",
target_arch = "mips",
target_arch = "mipsel"))]
fn align_of_32() {
assert_eq!(align_of::<uint>(), 4u);
assert_eq!(align_of::<*const uint>(), 4u);
Expand Down

0 comments on commit 22cc5d5

Please sign in to comment.