• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/tests/it.rs b/tests/it.rs
2index d18f0a1..f94bc69 100644
3--- a/tests/it.rs
4+++ b/tests/it.rs
5@@ -208,6 +208,7 @@ mod unsync {
6
7     #[test]
8     #[cfg(feature = "std")]
9+    #[cfg(not(target_os = "android"))]
10     fn lazy_poisoning() {
11         let x: Lazy<String> = Lazy::new(|| panic!("kaboom"));
12         for _ in 0..2 {
13@@ -227,6 +228,7 @@ mod unsync {
14
15     #[test]
16     #[should_panic(expected = "reentrant init")]
17+    #[ignore = "Android: ignore for now. Need to compile these binaries separately."]
18     fn reentrant_init() {
19         let x: OnceCell<Box<i32>> = OnceCell::new();
20         let dangling_ref: Cell<Option<&i32>> = Cell::new(None);
21@@ -342,6 +344,7 @@ mod sync {
22     }
23
24     #[test]
25+    #[cfg(not(target_os = "android"))]
26     fn get_or_try_init() {
27         let cell: OnceCell<String> = OnceCell::new();
28         assert!(cell.get().is_none());
29@@ -441,6 +441,7 @@ mod sync {
30     #[test]
31     #[cfg_attr(miri, ignore)] // miri doesn't support processes
32     #[cfg(feature = "std")]
33+    #[ignore = "Android: ignore for now. Need to compile these binaries separately."]
34     fn reentrant_init() {
35         let examples_dir = {
36             let mut exe = std::env::current_exe().unwrap();
37@@ -590,6 +593,7 @@ mod sync {
38     }
39
40     #[test]
41+    #[cfg(not(target_os = "android"))]
42     fn lazy_poisoning() {
43         let x: Lazy<String> = Lazy::new(|| panic!("kaboom"));
44         for _ in 0..2 {
45