• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/tests/it.rs b/tests/it.rs
2index 81faaff..c769487 100644
3--- a/tests/it.rs
4+++ b/tests/it.rs
5@@ -166,6 +166,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@@ -288,6 +289,7 @@ mod sync {
14     }
15
16     #[test]
17+    #[cfg(not(target_os = "android"))]
18     fn get_or_try_init() {
19         let cell: OnceCell<String> = OnceCell::new();
20         assert!(cell.get().is_none());
21@@ -348,6 +350,7 @@ mod sync {
22
23     #[test]
24     #[cfg_attr(miri, ignore)] // miri doesn't support processes
25+    #[ignore = "Android: ignore for now. Need to compile these binaries separately."]
26     fn reentrant_init() {
27         let examples_dir = {
28             let mut exe = std::env::current_exe().unwrap();
29@@ -486,6 +489,7 @@ mod sync {
30     }
31
32     #[test]
33+    #[cfg(not(target_os = "android"))]
34     fn lazy_poisoning() {
35         let x: Lazy<String> = Lazy::new(|| panic!("kaboom"));
36         for _ in 0..2 {
37