try fix metal log

This commit is contained in:
hlhr202 2024-05-07 01:26:42 +08:00
parent a440e7cb6f
commit cd6a633fc5

View file

@ -139,6 +139,7 @@ fn main() {
if cfg!(feature = "metal") { if cfg!(feature = "metal") {
config.define("WHISPER_METAL", "ON"); config.define("WHISPER_METAL", "ON");
config.define("WHISPER_METAL_NDEBUG", "ON");
} else { } else {
// Metal is enabled by default, so we need to explicitly disable it // Metal is enabled by default, so we need to explicitly disable it
config.define("WHISPER_METAL", "OFF"); config.define("WHISPER_METAL", "OFF");