Skip to content

Commit 7e5b153

Browse files
committed
Clippy
1 parent c957ad0 commit 7e5b153

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

boring-sys/build/main.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,10 @@ fn get_boringssl_cmake_config(config: &Config) -> cmake::Config {
307307
boringssl_cmake.cflag(&cflag);
308308
}
309309

310-
"windows" => {
311-
if config.host.contains("windows") {
312-
// BoringSSL's CMakeLists.txt isn't set up for cross-compiling using Visual Studio.
313-
// Disable assembly support so that it at least builds.
314-
boringssl_cmake.define("OPENSSL_NO_ASM", "YES");
315-
}
310+
"windows" if config.host.contains("windows") => {
311+
// BoringSSL's CMakeLists.txt isn't set up for cross-compiling using Visual Studio.
312+
// Disable assembly support so that it at least builds.
313+
boringssl_cmake.define("OPENSSL_NO_ASM", "YES");
316314
}
317315

318316
"linux" => match &*config.target_arch {

0 commit comments

Comments
 (0)