diff --git a/core/src/system_monitor_service.rs b/core/src/system_monitor_service.rs index 4133a6d5d..bec85780f 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,