aboutsummaryrefslogtreecommitdiff
path: root/tests/sync_watch.rs
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2023-01-20 02:42:04 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-01-20 02:42:04 +0000
commit614cf80b28bfdcbc2fa38a2f529642b041f2f8a2 (patch)
treef178981911468d21f90fea457b6c0c617fc4482d /tests/sync_watch.rs
parentd91996d66d1114020b7deb20acf8c7934b421c7e (diff)
parent641fa738c7d0efdbe731d672f05283af4fba1a72 (diff)
downloadtokio-614cf80b28bfdcbc2fa38a2f529642b041f2f8a2.tar.gz
Disable unwinding tests when using panic-abort am: b77bcd7e74 am: 34e4fc222f am: 641fa738c7
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/tokio/+/2393425 Change-Id: I76f74d4304c8c184b5dc691b6250624a1d699467 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tests/sync_watch.rs')
-rw-r--r--tests/sync_watch.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sync_watch.rs b/tests/sync_watch.rs
index 34f9b78..d4f8ce8 100644
--- a/tests/sync_watch.rs
+++ b/tests/sync_watch.rs
@@ -213,6 +213,7 @@ fn reopened_after_subscribe() {
}
#[test]
+#[cfg(panic = "unwind")]
#[cfg(not(tokio_wasm))] // wasm currently doesn't support unwinding
fn send_modify_panic() {
let (tx, mut rx) = watch::channel("one");