From 17d44cbcba436de11fd7026c3ec428e9bc9bc4f7 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Wed, 28 Oct 2026 20:00:00 -0700 Subject: [PATCH] build(deps): libc for every unix host, not only macOS --- komorebi-recorder/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/komorebi-recorder/Cargo.toml b/komorebi-recorder/Cargo.toml index c11db88f..6c546816 100644 --- a/komorebi-recorder/Cargo.toml +++ b/komorebi-recorder/Cargo.toml @@ -27,7 +27,6 @@ sysinfo = { workspace = true } [target.'cfg(target_os = "macos")'.dependencies] block2 = "0.6" dispatch2 = "0.3" -libc = "0.2" objc2 = { version = "0.6", default-features = false, features = ["std"] } objc2-av-foundation = { version = "0.3", default-features = false, features = [ "std", @@ -102,6 +101,9 @@ objc2-screen-capture-kit = { version = "0.3", default-features = false, features "SCStream", ] } +[target.'cfg(unix)'.dependencies] +libc = "0.2" + [target.'cfg(windows)'.dependencies] uds_windows = "1" windows = { version = "0.62", features = [