We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c957ad0 commit 7e5b153Copy full SHA for 7e5b153
1 file changed
boring-sys/build/main.rs
@@ -307,12 +307,10 @@ fn get_boringssl_cmake_config(config: &Config) -> cmake::Config {
307
boringssl_cmake.cflag(&cflag);
308
}
309
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
- }
+ "windows" if config.host.contains("windows") => {
+ // BoringSSL's CMakeLists.txt isn't set up for cross-compiling using Visual Studio.
+ // Disable assembly support so that it at least builds.
+ boringssl_cmake.define("OPENSSL_NO_ASM", "YES");
316
317
318
"linux" => match &*config.target_arch {
0 commit comments