Skip to content

Commit

Permalink
added optimization options
Browse files Browse the repository at this point in the history
  • Loading branch information
bwsw committed Feb 23, 2024
1 parent ba85eb9 commit b25fed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[target.x86_64-unknown-linux-gnu]
rustflags = "-C target-cpu=x86-64"
rustflags = "-C target-cpu=x86-64-v3"

[target.x86_64-pc-windows-gnu]
rustflags = "-C target-cpu=x86-64"
rustflags = "-C target-cpu=x86-64-v3"

# Apple Silicone fix
[target.aarch64-apple-darwin]
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ opt-level = 3

[profile.release]
opt-level = 3
codegen-units = 1

[profile.bench]
opt-level = 3
codegen-units = 1

[package.metadata.maturin]
python-source = "python"

0 comments on commit b25fed4

Please sign in to comment.