Skip to content

Commit 5812eff

Browse files
misc: add .cargo/config.toml with native instruction codegen (#772)
## What changes are proposed in this pull request? According to [arrow docs] we should ensure that we have `-C target-cpu=native` for rustc to generate best available instructions (SIMD, etc.) for our architecture [arrow docs]: https://crates.io/crates/arrow
1 parent cb70e58 commit 5812eff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.cargo/config.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["-C", "target-cpu=native"]

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
.zed
1010

1111
# Rust
12-
.cargo/
1312
target/
1413
/Cargo.lock
1514
integration-tests/Cargo.lock

0 commit comments

Comments
 (0)