From 92339ce29042f5c5a3f14cd85743adee0ba552cf Mon Sep 17 00:00:00 2001 From: llama Date: Sat, 1 Nov 2025 22:11:35 +0800 Subject: [PATCH] add libc crate for macos as well (for dlopen) --- qt/launcher/Cargo.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qt/launcher/Cargo.toml b/qt/launcher/Cargo.toml index 5fd1c9900..37c78fe14 100644 --- a/qt/launcher/Cargo.toml +++ b/qt/launcher/Cargo.toml @@ -14,16 +14,13 @@ anki_process.workspace = true anyhow.workspace = true camino.workspace = true dirs.workspace = true +libc.workspace = true locale_config.workspace = true serde_json.workspace = true -[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies] -libc.workspace = true - [target.'cfg(windows)'.dependencies] windows.workspace = true widestring.workspace = true -libc.workspace = true libc-stdhandle.workspace = true [[bin]]