Link CoreML for macOS builds.

This commit is contained in:
Hermes Agent committed 2026-08-14 12:43:47 +00:00
1 parent 3506538752
commit e59e92afa5
2 files changed
+5

No files matched your search

+3
View File
@@ -1,3 +1,6 @@
fn main() {
println!("cargo:rerun-if-changed=migrations");
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") {
println!("cargo:rustc-link-lib=framework=CoreML");
}
}