build: use thin LTO for release builds (#2366)

Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-09 22:04:59 +08:00
1 джерело 7090a8db56
коміт b50219b6fa
1 file changed
+3 -1
+3 -1
Переглянути файл
@@ -132,7 +132,9 @@ debug = false
[profile.release]
codegen-units = 1
lto = true
# Thin LTO: fat LTO's whole-program link outgrew the 16 GB release runners
# (Linux arm64 was killed mid-link from v0.1.39 on).
lto = "thin"
opt-level = 3
# Unwind, so a panic fails one task or command instead of quitting the IDE.
panic = "unwind"