heartwood every commit a ring

Drop LTO and codegen-units=1 from release profile

cf10c705 by Isaac Bythewood · 4 days ago

Drop LTO and codegen-units=1 from release profile

The 1-vCPU alpine VPS that builds the production image cannot finish
linking typst-library under fat LTO + a single codegen unit in any
reasonable amount of time. Falling back to defaults (no LTO, 16 codegen
units) trades a small bit of runtime perf for builds that actually
complete; for a blog binary the tradeoff is trivial.
modified Cargo.toml
@@ -23,6 +23,6 @@ typst-pdf = "0.14"typst-kit = { version = "0.14", default-features = false, features = ["fonts", "embed-fonts"] }[profile.release]lto = truecodegen-units = 1# Skip LTO so release builds stay tractable on the 1-vCPU alpine VPS once# typst-library entered the dep tree. codegen-units defaults to 16.strip = true