Merge pull request #1944 from TheBlueMatt/2022-01-lockorder-windows-robust
[rust-lightning] / lightning / src / sync / mod.rs
index f5755fc1017be1f282c830cbaad12dd510bce88f..f7226a5fa34eef114d27c6569207dbc68354b950 100644 (file)
@@ -2,6 +2,9 @@
 mod debug_sync;
 #[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
 pub use debug_sync::*;
+#[cfg(all(feature = "std", not(feature = "_bench_unstable"), test))]
+// Note that to make debug_sync's regex work this must not contain `debug_string` in the module name
+mod test_lockorder_checks;
 
 #[cfg(all(feature = "std", any(feature = "_bench_unstable", not(test))))]
 pub use ::std::sync::{Arc, Mutex, Condvar, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard};