From 833abc6308fb8f3eeeaba0ffb550a7a19ee7e9bb Mon Sep 17 00:00:00 2001 From: Lucas Rayan Date: Fri, 30 Oct 2026 14:40:29 -0300 Subject: [PATCH] fix: gate deauth_directional to Linux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The non-Linux stub at the bottom of the file duplicated a definition that had no #[cfg(target_os = "linux")] of its own — it inherited none from the unrelated #[allow] above it. Every non-Linux build (the desktop app's Windows CI job included) failed with a duplicate-definition error and unresolved Linux-only imports inside the always-compiled body. Co-Authored-By: Claude Sonnet 5.5 --- crates/sabia-core/src/engine.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/sabia-core/src/engine.rs b/crates/sabia-core/src/engine.rs index 20f4ad7..6ab3e14 100644 --- a/crates/sabia-core/src/engine.rs +++ b/crates/sabia-core/src/engine.rs @@ -1198,6 +1198,7 @@ impl Engine { /// `direction`: `ap` (AP→STA), `sta` (STA→AP, exige estação) ou `both`. /// `frame_kind`: `deauth` ou `disassoc`. + #[cfg(target_os = "linux")] #[allow(clippy::too_many_arguments)] pub fn deauth_directional( &self,