From 98d40227687d91b2123b4a465a23ae2be4b5bae2 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Sat, 21 Nov 2026 02:13:13 +0000 Subject: [PATCH] fix(config): Warn in release builds when both mimalloc and jemalloc are enabled --- src/core/config/check.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/config/check.rs b/src/core/config/check.rs index 2c6f98912..70a403d06 100644 --- a/src/core/config/check.rs +++ b/src/core/config/check.rs @@ -5,7 +5,7 @@ use figment::Figment; use ruma::{OwnedServerName, events::room::server_acl::RoomServerAclEventContent}; use super::DEPRECATED_KEYS; -use crate::{Config, Err, Result, Server, debug, debug_info, debug_warn, error, warn}; +use crate::{Config, Err, Result, Server, debug, debug_info, error, warn}; /// Performs check() with additional checks specific to reloading old config /// with new config. @@ -44,7 +44,7 @@ pub fn check(config: &Config) -> Result { } if cfg!(all(feature = "mimalloc", feature = "jemalloc", not(target_env = "msvc"))) { - debug_warn!( + warn!( "mimalloc and jemalloc compile-time features are both enabled, this causes jemalloc \ to be used." );