A treemap for finding and removing what fills your disk, for Omarchy. Rust + GPUI.
Rust
fix: allow platform-specific CPU sampler fallback lints
Harold Hunt4e6b15ccfaa4
diff --git a/crates/disktree-core/src/scan_threads.rs b/crates/disktree-core/src/scan_threads.rsindex ece9850..f285b8a 100644--- a/crates/disktree-core/src/scan_threads.rs+++ b/crates/disktree-core/src/scan_threads.rs@@ -430,6 +430,14 @@ struct CpuSampler {system: sysinfo::System,}+#[cfg_attr(+ not(any(target_os = "macos", target_os = "linux")),+ allow(+ clippy::missing_const_for_fn,+ clippy::unused_self,+ reason = "The fallback mirrors the stateful, non-const native API."+ )+)]impl CpuSampler {fn new() -> Self {#[cfg(any(target_os = "macos", target_os = "linux"))]