Skip to content

Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.

fix(desktop): enable libc dependency on all unix targets for recordings

Jochen Kirstätterf223e47fcfd8
diff --git a/desktop/app/Cargo.toml b/desktop/app/Cargo.toml
index 015e65b..50937db 100644
--- a/desktop/app/Cargo.toml
+++ b/desktop/app/Cargo.toml
@@ -114,8 +114,10 @@ windows = { workspace = true, features = [
"Win32_Media_MediaFoundation",
] }
-[target.'cfg(target_os = "linux")'.dependencies]
+[target.'cfg(unix)'.dependencies]
libc = "0.2"
+
+[target.'cfg(target_os = "linux")'.dependencies]
zbus.workspace = true
[build-dependencies]