Fix mac build (#34264)

Allow dead code instead
This commit is contained in:
Tyera 2023-11-28 21:07:13 -07:00 committed by GitHub
parent ded307adb3
commit e425c1acaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,