We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3382b0e + 51ce533 commit 825f803Copy full SHA for 825f803
build.rs
@@ -11,7 +11,8 @@ use std::path::Path;
11
12
fn main() {
13
let target = env::var("TARGET").unwrap();
14
- if target.contains("msvc") {
+ let host = env::var("HOST").unwrap();
15
+ if target.contains("msvc") && host.contains("windows") {
16
let mut config = gcc::Config::new();
17
config.file("src/util_helpers.asm");
18
config.file("src/aesni_helpers.asm");
0 commit comments