Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit e425c1a

Browse files
author
Tyera
authored
Fix mac build (#34264)
Allow dead code instead
1 parent ded307a commit e425c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/system_monitor_service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ pub struct SystemMonitorStatsReportConfig {
393393
pub report_os_disk_stats: bool,
394394
}
395395

396-
#[cfg(target_os = "linux")]
396+
#[cfg_attr(not(target_os = "linux"), allow(dead_code))]
397397
enum InterestingLimit {
398398
Recommend(i64),
399399
QueryOnly,

0 commit comments

Comments
 (0)