aboutsummaryrefslogtreecommitdiff
path: root/patches/task_abort.patch
blob: df05ccbbd2c955ce0c352df39b6418d4839977f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/tests/task_abort.rs b/tests/task_abort.rs
index cdaa405..ec0eed7 100644
--- a/tests/task_abort.rs
+++ b/tests/task_abort.rs
@@ -180,6 +180,7 @@ fn test_abort_wakes_task_3964() {
 /// Checks that aborting a task whose destructor panics does not allow the
 /// panic to escape the task.
 #[test]
+#[cfg(not(target_os = "android"))]
 fn test_abort_task_that_panics_on_drop_contained() {
     let rt = Builder::new_current_thread().enable_time().build().unwrap();
 
@@ -204,6 +205,7 @@ fn test_abort_task_that_panics_on_drop_contained() {
 
 /// Checks that aborting a task whose destructor panics has the expected result.
 #[test]
+#[cfg(not(target_os = "android"))]
 fn test_abort_task_that_panics_on_drop_returned() {
     let rt = Builder::new_current_thread().enable_time().build().unwrap();