Skip to content

Commit bc2111d

Browse files
authored
Merge pull request #10 from binarybana/patch-1
SIMD (arch=native build) for Rust
2 parents d0d6c42 + b145d74 commit bc2111d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test-all: ## run tests quickly with the default Python
3636
py.test -v -s doubles_all.py
3737

3838
compile-rust: ## compile new rust lib
39-
@cd pyext-myrustlib;cargo build --release
39+
@cd pyext-myrustlib;RUSTFLAGS="-C target-cpu=native" cargo build --release
4040
@cp pyext-myrustlib/target/release/libmyrustlib.so myrustlib.so
4141

4242
compile-c: ## compile new c lib

0 commit comments

Comments
 (0)