once-cell: Patch failing test
Nikos Tsipinakis
4 years ago
|
0 |
rust-once-cell (1.2.0-2) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
1 |
|
|
2 |
* Patch failing reentrant_init test
|
|
3 |
* Package once_cell 1.2.0 from crates.io using debcargo 2.4.1
|
|
4 |
|
|
5 |
-- Nikos Tsipinakis <nikos@tsipinakis.com> Wed, 08 Jan 2020 13:50:41 +0000
|
|
6 |
|
0 | 7 |
rust-once-cell (1.2.0-1) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
* Team upload.
|
13 | 13 |
|
14 | 14 |
Files: debian/*
|
15 | 15 |
Copyright:
|
16 | |
2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
17 | |
2019 Nikos Tsipinakis <nikos@tsipinakis.com>
|
|
16 |
2019-2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
|
17 |
2019-2020 Nikos Tsipinakis <nikos@tsipinakis.com>
|
18 | 18 |
License: MIT or Apache-2.0
|
19 | 19 |
|
20 | 20 |
License: Apache-2.0
|
|
0 |
From ae1a2edf999ddb4b706dbfee04199cae1f19adce Mon Sep 17 00:00:00 2001
|
|
1 |
From: Aleksey Kladov <aleksey.kladov@gmail.com>
|
|
2 |
Date: Wed, 1 Jan 2020 13:46:45 +0100
|
|
3 |
Subject: [PATCH] Paper over unfortunate --all-targets interaction
|
|
4 |
|
|
5 |
closes #79
|
|
6 |
---
|
|
7 |
examples/reentrant_init_deadlocks.rs | 7 +++++++
|
|
8 |
1 file changed, 7 insertions(+)
|
|
9 |
|
|
10 |
diff --git a/examples/reentrant_init_deadlocks.rs b/examples/reentrant_init_deadlocks.rs
|
|
11 |
index bad2bc3..af4b5b7 100644
|
|
12 |
--- a/examples/reentrant_init_deadlocks.rs
|
|
13 |
+++ b/examples/reentrant_init_deadlocks.rs
|
|
14 |
@@ -5,3 +5,10 @@ fn main() {
|
|
15 |
2
|
|
16 |
});
|
|
17 |
}
|
|
18 |
+
|
|
19 |
+/// Dummy test to make it seem hang when compiled as `--test`
|
|
20 |
+/// See https://github.com/matklad/once_cell/issues/79
|
|
21 |
+#[test]
|
|
22 |
+fn dummy_test() {
|
|
23 |
+ std::thread::sleep(std::time::Duration::from_secs(4));
|
|
24 |
+}
|
|
0 |
fix-reentrant-init-test.patch
|