Build: use four release codegen units

This commit is contained in:
skylartaylor committed 2026-11-30 05:54:02 +01:00
1 parent 4c8b12c5fa
commit ce2ebae5bd
1 file changed
+2 -1
+2 -1
View File
@@ -270,7 +270,8 @@ opt-level = 0
[profile.release]
lto = "thin"
codegen-units = 1
# Give LLVM room to compile in parallel without dropping ThinLTO.
codegen-units = 4
# The browser build (apps/photocraft-web, `data-cargo-profile` in its index.html). Hosts cap the
# size of a single file (Cloudflare Pages/Workers: 25 MiB), and the wasm is downloaded on every