From 4a3dcb750554f3dac672e675be44d7b2a13ccbe9 Mon Sep 17 00:00:00 2001 From: "smart-ssh-coder[bot]" <338317697+smart-ssh-coder[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 23:47:23 +0000 Subject: [PATCH] build(speech): build whisper.cpp with GGML_NATIVE=OFF (#534) Co-Authored-By: Claude Sonnet 5.5 --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..cb5fc04f --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,5 @@ +[env] +# whisper.cpp defaults to GGML_NATIVE=ON (-mcpu/-march=native): breaks +# cross-target builds (universal macOS) and ties release binaries to the +# build machine's CPU. whisper-rs-sys forwards GGML_* env vars to CMake. +GGML_NATIVE = "OFF"