Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(rust): gate attr needs impl on supported builds

Louis Beaumontfd208a879ffe
diff --git a/crates/screenpipe-engine/src/meeting_detector.rs b/crates/screenpipe-engine/src/meeting_detector.rs
index 47898a692..e4a57a9f0 100644
--- a/crates/screenpipe-engine/src/meeting_detector.rs
+++ b/crates/screenpipe-engine/src/meeting_detector.rs
@@ -952,13 +952,13 @@ struct AttrNeeds {
#[cfg(target_os = "macos")]
#[cfg(any(target_os = "macos", test))]
-#[cfg(any(target_os = "macos", test))]
impl AttrNeeds {
fn from_signals(signals: &[PrecomputedSignal]) -> Self {
Self::from_call_signals(signals.iter().map(|ps| &ps.signal))
}
}
+#[cfg(any(target_os = "macos", test))]
impl AttrNeeds {
/// Derive needs from a sequence of `CallSignal`s. Kept generic over the
/// iterator source so the same derivation drives both production