From 4dd6f89493879f0e5491cf9cb189dd72bad6a4ad Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 3 Mar 2026 16:46:51 +0800 Subject: [PATCH] Fix Apple builds --- leaf/src/option/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leaf/src/option/mod.rs b/leaf/src/option/mod.rs index ad757a5..ae34801 100644 --- a/leaf/src/option/mod.rs +++ b/leaf/src/option/mod.rs @@ -66,14 +66,14 @@ lazy_static! { pub static ref DNS_CACHE_SIZE: usize = { get_env_var_or("DNS_CACHE_SIZE", 512) }; +} +lazy_static! { /// Maximum number of recent connections stored in StatManager. pub static ref MAX_RECENT_CONNECTIONS: usize = { get_env_var_or("MAX_RECENT_CONNECTIONS", 0) }; -} -lazy_static! { pub static ref HTTP_USER_AGENT: String = { get_env_var_or_else( "HTTP_USER_AGENT",