From a1cb38b70ebc1c9517cc003d52910d1de2d8d2b4 Mon Sep 17 00:00:00 2001 From: Daan Date: Sun, 9 Feb 2025 19:10:33 -0800 Subject: [PATCH] fix link error in debug mode in test --- test/test-stress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test-stress.c b/test/test-stress.c index 6fbd8d0e..d3b8bcc5 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -261,7 +261,9 @@ static void test_stress(void) { #if !defined(NDEBUG) || defined(MI_TSAN) if ((n + 1) % 10 == 0) { printf("- iterations left: %3d\n", ITER - (n + 1)); + #ifndef USE_STD_MALLOC mi_debug_show_arenas(); + #endif //mi_collect(true); //mi_debug_show_arenas(); }