Skip to content

Commit ff4784e

Browse files
committed
cargo fmt in build.rs
1 parent f8d986b commit ff4784e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

llama-cpp-sys-2/build.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,11 @@ fn main() {
280280
config.define("GGML_BLAS", "OFF");
281281
}
282282

283-
if (matches!(target_os, TargetOs::Windows(WindowsVariant::Msvc)) && matches!(profile.as_str(), "Release" | "RelWithDebInfo" | "MinSizeRel"))
283+
if (matches!(target_os, TargetOs::Windows(WindowsVariant::Msvc))
284+
&& matches!(
285+
profile.as_str(),
286+
"Release" | "RelWithDebInfo" | "MinSizeRel"
287+
))
284288
{
285289
// Debug Rust builds under MSVC turn off optimization even though we're ideally building the release profile of llama.cpp.
286290
// Looks like an upstream bug:

0 commit comments

Comments
 (0)