We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d986b commit ff4784eCopy full SHA for ff4784e
llama-cpp-sys-2/build.rs
@@ -280,7 +280,11 @@ fn main() {
280
config.define("GGML_BLAS", "OFF");
281
}
282
283
- if (matches!(target_os, TargetOs::Windows(WindowsVariant::Msvc)) && matches!(profile.as_str(), "Release" | "RelWithDebInfo" | "MinSizeRel"))
+ if (matches!(target_os, TargetOs::Windows(WindowsVariant::Msvc))
284
+ && matches!(
285
+ profile.as_str(),
286
+ "Release" | "RelWithDebInfo" | "MinSizeRel"
287
+ ))
288
{
289
// Debug Rust builds under MSVC turn off optimization even though we're ideally building the release profile of llama.cpp.
290
// Looks like an upstream bug:
0 commit comments