diff --git a/snmalloc-sys/build.rs b/snmalloc-sys/build.rs index 586b464..cf23b67 100644 --- a/snmalloc-sys/build.rs +++ b/snmalloc-sys/build.rs @@ -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)