build(rust): enable fat lto and one codegen unit in release (#2185)

This commit is contained in:
Hampus
2026-08-30 23:16:49 +02:00
committed by GitHub
parent 6fd3177844
commit 6d305bacdf
4 changed files with 42 additions and 0 deletions
+5
View File
@@ -37,6 +37,11 @@ RUN printf '%s\n' \
'[workspace.package]' \
'edition = "2024"' \
'license = "AGPL-3.0-or-later"' \
'' \
'[profile.release]' \
'lto = "fat"' \
'codegen-units = 1' \
'strip = "symbols"' \
> Cargo.toml
ENV FLUXER_BUILD_VERSION="${BUILD_VERSION}"