From 0cf9f87cc94d26ecbaa9d6fa2895d78651ebea1e Mon Sep 17 00:00:00 2001 From: tuna2134 Date: Sun, 22 Sep 2024 14:26:15 +0000 Subject: [PATCH] fix build --- sbv2_api/build.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sbv2_api/build.rs diff --git a/sbv2_api/build.rs b/sbv2_api/build.rs new file mode 100644 index 0000000..96890be --- /dev/null +++ b/sbv2_api/build.rs @@ -0,0 +1,5 @@ +fn main() { + if cfg!(feature = "coreml") { + println!("cargo:rustc-link-arg=-fapple-link-rtlib"); + } +} \ No newline at end of file