auto merge of #16179 : SimonPersson/rust/master, r=brson
This should solve issue 14848 for ARM.
This commit is contained in:
commit
6bb72600cc
2 changed files with 2 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ mod m {
|
|||
|
||||
#[main]
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[cfg(target_arch = "arm")]
|
||||
pub fn main() {
|
||||
unsafe {
|
||||
assert_eq!(::rusti::pref_align_of::<u64>(), 8u);
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ mod m {
|
|||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[cfg(target_arch = "arm")]
|
||||
pub mod m {
|
||||
pub fn align() -> uint { 8u }
|
||||
pub fn size() -> uint { 16u }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue