quickwit: Enable full LTO build

This commit is contained in:
Jonathan Davies 2024-06-16 19:10:24 +01:00
parent 87bded6713
commit 6e577b6da1
No known key found for this signature in database

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";