fix: gate deauth_directional to Linux
CI / Formatação e clippy (push) Successful in 24s
CI / Testes (Linux) (push) Successful in 25s
CI / Auditoria de dependências (push) Canceled after 3s
CI / Compila o app desktop (Linux) (push) Canceled after 3s

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 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-10-30 14:40:29 -03:00
1 parent 3fc3febff3
commit 833abc6308
1 file changed
+1
+1
View File
@@ -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,