diff options
| author | Filip Andersson <jabos123@gmail.com> | 2023-03-29 23:13:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-29 23:13:03 +0200 |
| commit | dffaef08326967028e9ca9ff2bdb87e067fcf5f6 (patch) | |
| tree | 1b14003c02451e50e5e00f8ece13b2c983a3bcaa | |
| parent | d2c05c0e48b11d82b211881c7b915d46ceb67b9c (diff) | |
Make release builds using LTO (#396)
| -rw-r--r-- | Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,5 +49,9 @@ debug = 0 [profile.dev.package."*"] opt-level = 2 +[profile.release] +lto = "thin" +codegen-units = 1 + [profile.release.package."typst-cli"] strip = true |
