add libc crate for macos as well (for dlopen)

This commit is contained in:
llama 2025-11-01 22:11:35 +08:00
parent d943ff6074
commit 92339ce290
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -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]]