Cargo.toml: profiles
This commit is contained in:
11
Cargo.toml
11
Cargo.toml
@@ -13,12 +13,17 @@ path = "src/main.rs"
|
||||
|
||||
|
||||
[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
|
||||
debug = true
|
||||
|
||||
# increases perf at the cost of compile-time
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
|
||||
[features]
|
||||
bitvec = [ "dep:bitvec" ]
|
||||
|
||||
Reference in New Issue
Block a user