Unnamed repository; edit this file 'description' to name the repository.
Enable thin LTO
It compiles about half a second slower for me, so it seems fine to use by default.
Blaž Hrastnik 2021-11-15
parent 87e61a0 · commit cccc194
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 22d29260..580cccd6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,3 +14,6 @@ members = [
[profile.dev]
split-debuginfo = "unpacked"
+
+[profile.release]
+lto = "thin"