fix: add macos missing libc deps

This commit is contained in:
wonfen
2025-03-31 03:36:58 +08:00
parent 62141380d8
commit 5b9b5cb6a8
3 changed files with 3 additions and 1 deletions

1
src-tauri/Cargo.lock generated
View File

@@ -1059,6 +1059,7 @@ dependencies = [
"getrandom 0.3.2",
"image",
"imageproc",
"libc",
"log",
"log4rs",
"mihomo_api",

View File

@@ -73,6 +73,7 @@ async-trait = "0.1.88"
mihomo_api = { path = "src_crates/crate_mihomo_api" }
ab_glyph = "0.2.29"
tungstenite = "0.26.2"
libc = "0.2"
[target.'cfg(windows)'.dependencies]
runas = "=1.2.0"