From cd6a633fc56dabae19e6bb14ead33a89af9ccb69 Mon Sep 17 00:00:00 2001 From: hlhr202 Date: Tue, 7 May 2024 01:26:42 +0800 Subject: [PATCH] try fix metal log --- sys/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/build.rs b/sys/build.rs index 354e93b..c647037 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -139,6 +139,7 @@ fn main() { if cfg!(feature = "metal") { config.define("WHISPER_METAL", "ON"); + config.define("WHISPER_METAL_NDEBUG", "ON"); } else { // Metal is enabled by default, so we need to explicitly disable it config.define("WHISPER_METAL", "OFF");