quickwit: Enable full LTO build

This commit is contained in:
Jonathan Davies
2024-06-16 23:18:43 +01:00
parent 87bded6713
commit 6e577b6da1
+3
View File
@@ -96,6 +96,9 @@ rustPlatform.buildRustPackage rec {
};
};
CARGO_PROFILE_RELEASE_LTO = "fat";
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
# needed for internal protobuf c wrapper library
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";