build: enable thick lto and minimize codegen-units
binary size goes from 1224 to 1068 (as reported by `du result/bin/tylc`)
This commit is contained in:
parent
1bb69e7357
commit
15534793fd
1 changed files with 4 additions and 0 deletions
|
|
@ -10,3 +10,7 @@ thiserror = "2.0.18"
|
|||
version = "1.30"
|
||||
default-features = false
|
||||
features = ["std", "float"]
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue