1diff --git a/tests/slab.rs b/tests/slab.rs 2index c1570fa..8ba3064 100644 3--- a/tests/slab.rs 4+++ b/tests/slab.rs 5@@ -580,6 +580,8 @@ fn compact_doesnt_move_if_closure_errors() { 6 } 7 8 #[test] 9+// Android aborts on panic and this test relies on stack unwinding. 10+#[cfg(not(target_os = "android"))] 11 fn compact_handles_closure_panic() { 12 let mut slab = Slab::new(); 13 for i in 0..10 { 14