mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Build: use four release codegen units
This commit is contained in:
1 parent
4c8b12c5fa
commit
ce2ebae5bd
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user