From 0f406be6c3695ce624c2ad3fc3f0970de725a68b Mon Sep 17 00:00:00 2001 From: Jazz Turner-Baggs <473256+jazzz@users.noreply.github.com> Date: Mon, 23 Feb 2026 20:25:11 -0800 Subject: [PATCH] Fix target mismatch --- .cargo/config.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..23baf9f --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,7 @@ +[env] +# Pin the macOS deployment target so vendored C/C++ builds (SQLCipher, OpenSSL) +# compile with the same minimum version as the Nim linker expects. +# Without this, the host SDK version is used (currently 15.5), causing +# "was built for newer macOS version" linker warnings. +# This is caused by nimble and cargo defaulting to different targets. +MACOSX_DEPLOYMENT_TARGET = { value = "15.0", force = false }