File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
branches/try/src/test/run-pass Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 2a47fa708cfbf6b90a8ffacbaf00b8250bfa72cd
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5
- refs/heads/try: 5a24ee8a9ef1bb3bf250ce39902cf8dfca1a4dea
5
+ refs/heads/try: cb55279f2378c8f3e8528c8c4c8a0f67d6955cb1
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -51,6 +51,15 @@ mod m {
51
51
assert_eq ! ( :: rusti:: min_align_of:: <u64 >( ) , 8 u) ;
52
52
}
53
53
}
54
+
55
+ #[ main]
56
+ #[ cfg( target_arch = "x86_64" ) ]
57
+ pub fn main ( ) {
58
+ unsafe {
59
+ assert_eq ! ( :: rusti:: pref_align_of:: <u64 >( ) , 8 u) ;
60
+ assert_eq ! ( :: rusti:: min_align_of:: <u64 >( ) , 8 u) ;
61
+ }
62
+ }
54
63
}
55
64
56
65
#[ cfg( target_os = "android" ) ]
Original file line number Diff line number Diff line change @@ -61,6 +61,12 @@ mod m {
61
61
pub fn align ( ) -> uint { 8 u }
62
62
pub fn size ( ) -> uint { 16 u }
63
63
}
64
+
65
+ #[ cfg( target_arch = "x86_64" ) ]
66
+ pub mod m {
67
+ pub fn align ( ) -> uint { 8 u }
68
+ pub fn size ( ) -> uint { 16 u }
69
+ }
64
70
}
65
71
66
72
#[ cfg( target_os = "android" ) ]
You can’t perform that action at this time.
0 commit comments