Skip to content

Commit 4ae8ffa

Browse files
committed
[ENH] force avx512 in rust build
1 parent 340a6ff commit 4ae8ffa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
1111
.flag("-fPIC")
1212
.flag("-ftree-vectorize")
1313
.flag("-w")
14+
.flag("-march=native")
1415
.compile("bindings");
1516

1617
Ok(())

0 commit comments

Comments
 (0)