about summary refs log tree commit diff
path: root/pkgs/tools/misc/vector/vector-lto.patch
blob: a795c1f16d25e3bc4a3b0b9160e40cbe3857677b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./Cargo.toml	2024-04-10 00:01:12.033806583 +0100
+++ ./Cargo.toml	2024-04-10 00:01:48.324228125 +0100
@@ -45,7 +45,8 @@ path = "tests/e2e/mod.rs"
 # This results in roughly a 5% reduction in performance when compiling locally vs when
 # compiled via the CI pipeline.
 [profile.release]
-debug = false # Do not include debug symbols in the executable.
+lto = true
+codegen-units = 1
 
 [profile.bench]
 debug = true