From 5be13a4c49248a4a299bbda1b7527c8783c5c481 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Tue, 16 Apr 2024 15:50:59 +0800 Subject: [PATCH] fix madsim again Signed-off-by: Bugen Zhao --- src/common/src/util/recursive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/src/util/recursive.rs b/src/common/src/util/recursive.rs index 1d627e94c1fbe..2869b3c496335 100644 --- a/src/common/src/util/recursive.rs +++ b/src/common/src/util/recursive.rs @@ -165,7 +165,7 @@ macro_rules! __recursive_tracker { } pub use __recursive_tracker as tracker; -#[cfg(test)] +#[cfg(all(test, not(madsim)))] mod tests { use super::*;