Skip to content

Conversation

@echobt
Copy link
Contributor

@echobt echobt commented Jan 21, 2026

This PR comments out platform-specific features (cuda, metal, vulkan) in Cargo.toml. These features, when enabled via --all-features, cause build failures on environments that lack the necessary SDKs (e.g. CI, Linux without CUDA). The llama-cpp-sys-2 build script panics when required tools are missing. By removing them from the default feature set exposed to all-features, checks like cargo clippy --all-targets --all-features can pass on standard environments. Users who need these features can still enable them if they uncomment them, but they are not suitable for default inclusion in all-features check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants