Skip to content

Commit 8d3c76d

Browse files
committed
runtime optimization via cargo flags
1 parent a3949b0 commit 8d3c76d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
rustflags = ["-C", "target-cpu=native"]

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
[profile.release]
2+
codegen-units = 1
3+
lto = "fat"
4+
overflow-checks = true
5+
16
[package]
27
name = "parseable"
38
version = "2.7.2"

0 commit comments

Comments
 (0)