From bb799f2e797455ee81da6d20f02b3e771aabc81c Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Tue, 28 Nov 2023 18:48:43 -0700 Subject: [PATCH] Allow dead code instead --- core/src/system_monitor_service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/system_monitor_service.rs b/core/src/system_monitor_service.rs index 4133a6d5d404a1..bec85780fc3ede 100644 --- a/core/src/system_monitor_service.rs +++ b/core/src/system_monitor_service.rs @@ -393,7 +393,7 @@ pub struct SystemMonitorStatsReportConfig { pub report_os_disk_stats: bool, } -#[cfg(target_os = "linux")] +#[cfg_attr(not(target_os = "linux"), allow(dead_code))] enum InterestingLimit { Recommend(i64), QueryOnly,