Skip to content

Commit

Permalink
Update build.rs msvc lto no
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancinsight authored Dec 3, 2024
1 parent 8b52990 commit 9dd8ec3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snmalloc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ fn configure_features(config: &mut BuildConfig) {
Compiler::Unknown => {
// Skip LTO for unknown compiler
}
Compiler::Msvc => {
// Skip LTO for unknown compiler
}
_ => {
println!("{:?}",config.compiler);
// Enable LTO for known compilers (Clang, Gcc, Msvc)
Expand Down

0 comments on commit 9dd8ec3

Please sign in to comment.