Update once_cell to 1.3.1
David Bürgin
4 years ago
|
0 |
rust-once-cell (1.3.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
|
|
1 |
|
|
2 |
* Team upload.
|
|
3 |
* Package once_cell 1.3.1 from crates.io using debcargo 2.4.2
|
|
4 |
* Remove patch for reentrant_init test incorporated upstream
|
|
5 |
* Add patch to update crossbeam-utils to 0.7.2
|
|
6 |
|
|
7 |
-- David Bürgin <dbuergin@gluet.ch> Mon, 23 Mar 2020 12:13:30 +0100
|
|
8 |
|
0 | 9 |
rust-once-cell (1.2.0-3) unstable; urgency=medium
|
1 | 10 |
|
2 | 11 |
* Team upload.
|
src/once-cell/debian/patches/fix-reentrant-init-test.patch
less
more
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 | 0 |
update-parking-lot.patch
|
1 | |
fix-reentrant-init-test.patch
|
|
1 |
update-crossbeam-utils.patch
|
|
0 |
--- a/Cargo.toml
|
|
1 |
+++ b/Cargo.toml
|
|
2 |
@@ -56,7 +56,7 @@
|
|
3 |
optional = true
|
|
4 |
default_features = false
|
|
5 |
[dev-dependencies.crossbeam-utils]
|
|
6 |
-version = "0.6.0"
|
|
7 |
+version = "0.7.2"
|
|
8 |
|
|
9 |
[dev-dependencies.lazy_static]
|
|
10 |
version = "1.0.0"
|
0 | |
Index: once-cell/Cargo.toml
|
1 | |
===================================================================
|
2 | |
--- once-cell.orig/Cargo.toml
|
3 | |
+++ once-cell/Cargo.toml
|
4 | |
@@ -44,7 +44,7 @@ required-features = ["std"]
|
5 | |
name = "regex"
|
|
0 |
--- a/Cargo.toml
|
|
1 |
+++ b/Cargo.toml
|
|
2 |
@@ -52,7 +52,7 @@
|
|
3 |
name = "test_synchronization"
|
6 | 4 |
required-features = ["std"]
|
7 | 5 |
[dependencies.parking_lot]
|
8 | 6 |
-version = "0.9.0"
|