From 586cd912de0377eb405c7e87fc25057068170bd9 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Jan 2026 14:06:06 +0400 Subject: [PATCH] fix: disable platform-specific features to allow clippy --all-features --- Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d912c66..a2e7ba2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,9 +52,11 @@ predicates = "3" [features] default = [] -cuda = ["llama-cpp-2/cuda"] -metal = ["llama-cpp-2/metal"] -vulkan = ["llama-cpp-2/vulkan"] +# These features are platform specific and break build if SDKs are missing +# cuda = ["llama-cpp-2/cuda"] +# metal = ["llama-cpp-2/metal"] +# vulkan = ["llama-cpp-2/vulkan"] + [profile.release] lto = true