Cargo.toml: profiles
This commit is contained in:
11
Cargo.toml
11
Cargo.toml
@@ -13,12 +13,17 @@ path = "src/main.rs"
|
|||||||
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
# increases perf at the cost of compile-time
|
||||||
|
codegen-units = 1 # ~4-5% perf bump
|
||||||
|
lto = true
|
||||||
|
# incremental = false
|
||||||
|
# overflow-checks = false
|
||||||
|
|
||||||
|
[profile.profile]
|
||||||
|
inherits = "release"
|
||||||
# for profiling
|
# for profiling
|
||||||
debug = true
|
debug = true
|
||||||
|
|
||||||
# increases perf at the cost of compile-time
|
|
||||||
codegen-units = 1
|
|
||||||
lto = true
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
bitvec = [ "dep:bitvec" ]
|
bitvec = [ "dep:bitvec" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user