From 2bde5c3cb2bfa99a73cce357420185a09842d3ba Mon Sep 17 00:00:00 2001 From: Tyera Date: Tue, 28 Nov 2023 17:52:32 -0700 Subject: [PATCH] Tag InterestingLimit enum with target_os (#34259) Only linux has interesting limits --- core/src/system_monitor_service.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/system_monitor_service.rs b/core/src/system_monitor_service.rs index c2d1055a5..4133a6d5d 100644 --- a/core/src/system_monitor_service.rs +++ b/core/src/system_monitor_service.rs @@ -393,6 +393,7 @@ pub struct SystemMonitorStatsReportConfig { pub report_os_disk_stats: bool, } +#[cfg(target_os = "linux")] enum InterestingLimit { Recommend(i64), QueryOnly,