blob: 8491db5cf607e3dd6bcdd3ecdb04a540f1c7b1d9 [file] [log] [blame]
diff --git a/tests/it.rs b/tests/it.rs
index 81faaff..c769487 100644
--- a/tests/it.rs
+++ b/tests/it.rs
@@ -166,6 +166,7 @@ mod unsync {
#[test]
#[cfg(feature = "std")]
+ #[cfg(not(target_os = "android"))]
fn lazy_poisoning() {
let x: Lazy<String> = Lazy::new(|| panic!("kaboom"));
for _ in 0..2 {
@@ -288,6 +289,7 @@ mod sync {
}
#[test]
+ #[cfg(not(target_os = "android"))]
fn get_or_try_init() {
let cell: OnceCell<String> = OnceCell::new();
assert!(cell.get().is_none());
@@ -348,6 +350,7 @@ mod sync {
#[test]
#[cfg_attr(miri, ignore)] // miri doesn't support processes
+ #[ignore = "Android: ignore for now. Need to compile these binaries separately."]
fn reentrant_init() {
let examples_dir = {
let mut exe = std::env::current_exe().unwrap();
@@ -486,6 +489,7 @@ mod sync {
}
#[test]
+ #[cfg(not(target_os = "android"))]
fn lazy_poisoning() {
let x: Lazy<String> = Lazy::new(|| panic!("kaboom"));
for _ in 0..2 {