From ed0cf93748e861d955d2cd2dc29e8e75f75d1b79 Mon Sep 17 00:00:00 2001 From: Andreas Coroiu Date: Wed, 28 Aug 2024 13:22:54 +0200 Subject: [PATCH] fix: native build on unix and windows --- apps/desktop/desktop_native/core/src/autofill/unix.rs | 9 ++------- apps/desktop/desktop_native/core/src/autofill/windows.rs | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/apps/desktop/desktop_native/core/src/autofill/unix.rs b/apps/desktop/desktop_native/core/src/autofill/unix.rs index d2a37a1216..d77130176a 100644 --- a/apps/desktop/desktop_native/core/src/autofill/unix.rs +++ b/apps/desktop/desktop_native/core/src/autofill/unix.rs @@ -1,10 +1,5 @@ use anyhow::Result; -pub fn hello_world(value: String) -> Result { - Ok(value) -} - -#[cfg(test)] -mod tests { - // use super::*; +pub async fn run_command(value: String) -> Result { + todo!("Unix does not support autofill"); } diff --git a/apps/desktop/desktop_native/core/src/autofill/windows.rs b/apps/desktop/desktop_native/core/src/autofill/windows.rs index d2a37a1216..2e442263c1 100644 --- a/apps/desktop/desktop_native/core/src/autofill/windows.rs +++ b/apps/desktop/desktop_native/core/src/autofill/windows.rs @@ -1,10 +1,5 @@ use anyhow::Result; -pub fn hello_world(value: String) -> Result { - Ok(value) -} - -#[cfg(test)] -mod tests { - // use super::*; +pub async fn run_command(value: String) -> Result { + todo!("Windows does not support autofill"); }