aboutsummaryrefslogtreecommitdiff
path: root/src/iter/collect
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2023-04-03 18:08:32 +0200
committerJeff Vander Stoep <jeffv@google.com>2023-04-03 18:08:32 +0200
commita452597528b57dedcae8a1df13ae9c53a56e5330 (patch)
tree1900296c4c4cc8dbc1dcc832ee0e0fcbdcceb88b /src/iter/collect
parente8f5b0c9f5ad0f805638e7d2bf916f3f034abe04 (diff)
downloadrayon-a452597528b57dedcae8a1df13ae9c53a56e5330.tar.gz
Upgrade rayon to 1.7.0android-u-beta-1-gpl
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/rayon For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: Id3b0ce117290de8306402351d88eff7a9619d47f
Diffstat (limited to 'src/iter/collect')
-rw-r--r--src/iter/collect/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iter/collect/test.rs b/src/iter/collect/test.rs
index b5f676f..97bec3f 100644
--- a/src/iter/collect/test.rs
+++ b/src/iter/collect/test.rs
@@ -76,6 +76,7 @@ fn right_produces_items_with_no_complete() {
// Complete is not called by the consumer. Hence,the collection vector is not fully initialized.
#[test]
+#[cfg_attr(not(panic = "unwind"), ignore)]
fn produces_items_with_no_complete() {
let counter = DropCounter::default();
let mut v = vec![];
@@ -273,6 +274,7 @@ fn right_panics() {
// The left consumer produces fewer items while the right
// consumer produces correct number; check that created elements are dropped
#[test]
+#[cfg_attr(not(panic = "unwind"), ignore)]
fn left_produces_fewer_items_drops() {
let counter = DropCounter::default();
let mut v = vec![];