mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Make release builds using LTO (#396)
This commit is contained in:
parent
d2c05c0e48
commit
dffaef0832
@ -49,5 +49,9 @@ debug = 0
|
|||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 2
|
opt-level = 2
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = "thin"
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[profile.release.package."typst-cli"]
|
[profile.release.package."typst-cli"]
|
||||||
strip = true
|
strip = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user