Skip to content

Commit 35cfe92

Browse files
committed
ci: [profile.dist] für cargo-dist
1 parent 61516c9 commit 35cfe92

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,15 @@ codegen-units = 1
293293
strip = "debuginfo"
294294
debug = 1 # Line-Tabellen fuer Flamegraphs
295295

296+
# `dist` profile fuer cargo-dist Release-Pipeline (.github/workflows/release.yml).
297+
# Erbt von release plus `lto = "fat"` fuer kleinere static binaries.
298+
# Spec: zerodds-deployment-1.0.md §6.
299+
[profile.dist]
300+
inherits = "release"
301+
lto = "fat"
302+
codegen-units = 1
303+
strip = "symbols"
304+
296305
[profile.release-safe]
297306
inherits = "release"
298307
lto = "fat"

0 commit comments

Comments
 (0)