diff --git a/Cargo.toml b/Cargo.toml index 211382e2..78512d94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,3 +25,7 @@ lto = true codegen-units = 1 strip = true panic = "abort" + +[profile.release-ffi] +inherits = "release" +panic = "unwind" diff --git a/crates/ffi/Cargo.toml b/crates/ffi/Cargo.toml index 1126018e..1ec3eb5d 100644 --- a/crates/ffi/Cargo.toml +++ b/crates/ffi/Cargo.toml @@ -3,6 +3,7 @@ name = "agent-desktop-ffi" version.workspace = true edition.workspace = true license.workspace = true +publish = false [lib] crate-type = ["cdylib"] @@ -12,6 +13,7 @@ agent-desktop-core.workspace = true [target.'cfg(target_os = "macos")'.dependencies] agent-desktop-macos = { path = "../macos" } +libc = "0.2" [target.'cfg(target_os = "windows")'.dependencies] agent-desktop-windows = { path = "../windows" }