Skip to content

Commit

Permalink
resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
darknight committed Dec 10, 2023
1 parent 241c54b commit b08c49f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/llama-cpp-bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ fn build_llama_cpp() {
// By default, this value is automatically inferred from Rust’s compilation profile.
// For Windows platform, we always build llama.cpp in release mode.
// See https://github.com/TabbyML/tabby/pull/948 for more details.
#[cfg(target_os = "windows")]
config.profile("Release");
if cfg!(target_os = "windows") {
config.profile("Release");
}

let dst = config.build();
if cfg!(target_os = "windows") {
Expand Down

0 comments on commit b08c49f

Please sign in to comment.