fix(sysopt): gate shared macOS bypass constant to macOS builds

MACOS_DEFAULT_BYPASS is referenced only from cfg(target_os = "macos")
code in sysopt.rs, so clippy on Linux and Windows flagged it as dead
code under -D warnings.
This commit is contained in:
Tunglies
2026-10-27 23:37:39 +08:00
parent abdf8cafcb
commit eba4818e99
+1
View File
@@ -16,6 +16,7 @@ pub mod network {
pub mod proxy {
/// Single source of the macOS default bypass list; both proxy backends compose from it.
#[cfg(target_os = "macos")]
pub const MACOS_DEFAULT_BYPASS: &str =
"127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,localhost,*.local,*.crashlytics.com,<local>";
}