Link CoreML for macOS builds.

This commit is contained in:
Hermes Agent
2026-08-14 12:43:47 +00:00
parent 3506538752
commit e59e92afa5
2 changed files with 5 additions and 0 deletions

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");
}
}