Skip to content

Commit d8185a0

Browse files
committed
---
yaml --- r: 174015 b: refs/heads/batch c: c513793 h: refs/heads/master i: 174013: ae5a8ea 174011: 4aa4ebd 174007: d2c7ccb 173999: df24d74 173983: e3af19c 173951: df2497f v: v3
1 parent 961b273 commit d8185a0

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/issue-18208-method-dispatch-2: 9e1eae4fb9b6527315b4441cf8a0f5ca911d1671
3030
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
32-
refs/heads/batch: 043a4b32d1295583a94f1658d8ccb919727976ba
32+
refs/heads/batch: c51379386cbd50e30b7c6c6d2eb618d2c982ff55
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 44a287e6eb22ec3c2a687fc156813577464017f7
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/batch/src/libcoretest/mem.rs

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,14 @@ fn size_of_basic() {
1919
}
2020

2121
#[test]
22-
#[cfg(any(target_arch = "x86",
23-
target_arch = "arm",
24-
target_arch = "mips",
25-
target_arch = "mipsel",
26-
target_arch = "powerpc"))]
22+
#[cfg(target_pointer_width = "32")]
2723
fn size_of_32() {
2824
assert_eq!(size_of::<uint>(), 4u);
2925
assert_eq!(size_of::<*const uint>(), 4u);
3026
}
3127

3228
#[test]
33-
#[cfg(any(target_arch = "x86_64",
34-
target_arch = "aarch64"))]
29+
#[cfg(target_pointer_width = "64")]
3530
fn size_of_64() {
3631
assert_eq!(size_of::<uint>(), 8u);
3732
assert_eq!(size_of::<*const uint>(), 8u);
@@ -53,19 +48,14 @@ fn align_of_basic() {
5348
}
5449

5550
#[test]
56-
#[cfg(any(target_arch = "x86",
57-
target_arch = "arm",
58-
target_arch = "mips",
59-
target_arch = "mipsel",
60-
target_arch = "powerpc"))]
51+
#[cfg(target_pointer_width = "32")]
6152
fn align_of_32() {
6253
assert_eq!(align_of::<uint>(), 4u);
6354
assert_eq!(align_of::<*const uint>(), 4u);
6455
}
6556

6657
#[test]
67-
#[cfg(any(target_arch = "x86_64",
68-
target_arch = "aarch64"))]
58+
#[cfg(target_pointer_width = "64")]
6959
fn align_of_64() {
7060
assert_eq!(align_of::<uint>(), 8u);
7161
assert_eq!(align_of::<*const uint>(), 8u);

0 commit comments

Comments
 (0)