commit | 35d24c390b6e3cd1cff5f2b4e1b50a91004ee76c | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Jan 31 15:32:26 2019 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Jan 31 15:32:26 2019 -0800 |
tree | bafd6ed230c51ecd72fc6e5fcec8d45b92368a3d | |
parent | 7b9bd94a779ab0317979c2a1cb3f9096aafa2085 [diff] |
Keep deprecated ATOMIC_USIZE_INIT to support old compilers
diff --git a/src/wrapper.rs b/src/wrapper.rs index c45dff8..cbb6515 100644 --- a/src/wrapper.rs +++ b/src/wrapper.rs
@@ -25,6 +25,7 @@ use std::sync::atomic::*; use std::sync::Once; + #[allow(deprecated)] static WORKS: AtomicUsize = ATOMIC_USIZE_INIT; static INIT: Once = Once::new();