Skip to content

Commit 891eab9

Browse files
committed
auto merge of #12994 : alexcrichton/rust/fix-android, r=huonw
This compile-fail test didn't have a main function for architectures other than x86
2 parents af93684 + 6a7306f commit 891eab9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/compile-fail/asm-misplaced-option.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
// except according to those terms.
1010

1111
// ignore-fast #[feature] doesn't work with check-fast
12+
// ignore-android
13+
1214
#[feature(asm)];
1315

1416
#[allow(dead_code)];
@@ -33,9 +35,6 @@ pub fn main() {
3335
assert_eq!(x, 13);
3436
}
3537

36-
// #[cfg(not(target_arch = "x86"), not(target_arch = "x86_64"))]
37-
// pub fn main() {}
38-
3938
// At least one error is needed so that compilation fails
4039
#[static_assert]
4140
static b: bool = false; //~ ERROR static assertion failed

0 commit comments

Comments
 (0)