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.
1 parent 6e57526 commit 26f334aCopy full SHA for 26f334a
Cargo.toml
@@ -11,5 +11,5 @@ build = "build.rs"
11
[features]
12
sse = []
13
14
-[target.'cfg(target_arch = "x86")'.build-dependencies]
+[target.'cfg(target_feature = "sse")'.build-dependencies]
15
gcc = "0.3"
build.rs
@@ -1,8 +1,8 @@
1
-#[cfg(target_arch = "x86")]
+#[cfg(feature="sse")]
2
extern crate gcc;
3
4
fn main() {
5
- #[cfg(target_arch = "x86")]
+ #[cfg(feature="sse")]
6
gcc::Build::new()
7
.file("src/accumulate.c")
8
.flag("-march=native")
0 commit comments