Update builder.sh

Cargo.toml: add [profile.release]

Signed-off-by: Edu4rdSHL <edu4rdshl@protonmail.com>
This commit is contained in:
Edu4rdSHL 2022-02-13 06:08:27 -05:00
parent 661c4b1a04
commit a41b1807cb
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5
2 changed files with 29 additions and 0 deletions

View file

@ -39,3 +39,11 @@ openssl = { version = "0.10.34", features = ["vendored"] }
[target.'cfg(windows)'.dependencies]
atty = "0.2.14"
winapi = { version = "0.3.9", features = ["handleapi", "winbase"] }
[profile.release]
lto = true
codegen-units = 1
panic = 'abort'
incremental = false
opt-level = "s"