auto merge of #16179 : SimonPersson/rust/master, r=brson

This should solve issue 14848 for ARM.
This commit is contained in:
bors 2014-08-05 00:01:28 +00:00
commit 6bb72600cc
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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 }