mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
enable lto and limit code generation units
This increases performance and generates a smaller binary. It makes compiling a bit slower, but the trade-off is worth it in the case of hunter.
This commit is contained in:
parent
2974d744a6
commit
392e6c0128
@ -33,6 +33,7 @@ osstrtools = "0.1"
|
||||
pathbuftools = "0.1"
|
||||
|
||||
|
||||
#[profile.release]
|
||||
#debug = true
|
||||
#lto = false
|
||||
# These options increase performance and generate a smaller binary
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user