Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

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

l0ng-aib50219b6fa18
diff --git a/Cargo.toml b/Cargo.toml
index 197b46448..bf6a10847 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"