From 6a7306fdabd09454e0fa8fec60d783144ea456a1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 18 Mar 2014 00:09:12 -0700 Subject: [PATCH] test: Fix android tests This compile-fail test didn't have a main function for architectures other than x86 --- src/test/compile-fail/asm-misplaced-option.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/compile-fail/asm-misplaced-option.rs b/src/test/compile-fail/asm-misplaced-option.rs index 595247143edca..4f973cbbe2540 100644 --- a/src/test/compile-fail/asm-misplaced-option.rs +++ b/src/test/compile-fail/asm-misplaced-option.rs @@ -9,6 +9,8 @@ // except according to those terms. // ignore-fast #[feature] doesn't work with check-fast +// ignore-android + #[feature(asm)]; #[allow(dead_code)]; @@ -33,9 +35,6 @@ pub fn main() { assert_eq!(x, 13); } -// #[cfg(not(target_arch = "x86"), not(target_arch = "x86_64"))] -// pub fn main() {} - // At least one error is needed so that compilation fails #[static_assert] static b: bool = false; //~ ERROR static assertion failed