Skip to content

Commit

Permalink
Ensure there are versions of test code for aarch64 windows
Browse files Browse the repository at this point in the history
  • Loading branch information
danielframpton committed Mar 19, 2020
1 parent f4c675c commit d195620
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
10 changes: 0 additions & 10 deletions src/test/ui/intrinsics/intrinsic-alignment.rs
Expand Up @@ -56,16 +56,6 @@ mod m {
#[cfg(target_os = "windows")]
mod m {
#[main]
#[cfg(target_arch = "x86")]
pub fn main() {
unsafe {
assert_eq!(::rusti::pref_align_of::<u64>(), 8);
assert_eq!(::rusti::min_align_of::<u64>(), 8);
}
}

#[main]
#[cfg(target_arch = "x86_64")]
pub fn main() {
unsafe {
assert_eq!(::rusti::pref_align_of::<u64>(), 8);
Expand Down
7 changes: 0 additions & 7 deletions src/test/ui/structs-enums/rec-align-u64.rs
Expand Up @@ -67,13 +67,6 @@ mod m {

#[cfg(target_os = "windows")]
mod m {
#[cfg(target_arch = "x86")]
pub mod m {
pub fn align() -> usize { 8 }
pub fn size() -> usize { 16 }
}

#[cfg(target_arch = "x86_64")]
pub mod m {
pub fn align() -> usize { 8 }
pub fn size() -> usize { 16 }
Expand Down

0 comments on commit d195620

Please sign in to comment.