X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fsync%2Fmod.rs;h=f7226a5fa34eef114d27c6569207dbc68354b950;hb=fad52d8b98467e18e4112006cebdb1dec39d199a;hp=f5755fc1017be1f282c830cbaad12dd510bce88f;hpb=558bfa3fb3789d7d2586fef11d62367c174f370f;p=rust-lightning diff --git a/lightning/src/sync/mod.rs b/lightning/src/sync/mod.rs index f5755fc1..f7226a5f 100644 --- a/lightning/src/sync/mod.rs +++ b/lightning/src/sync/mod.rs @@ -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};