fix(nix): fix LTO flags
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
8d26b6d0ea
commit
72a0f64b35
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ rustPlatform.buildRustPackage rec {
|
|||
RUSTFLAGS = toRustFlags (
|
||||
lib.optionalAttrs lto {
|
||||
lto = "thin";
|
||||
embed-bicode = "yes";
|
||||
embed-bitcode = "yes";
|
||||
}
|
||||
// lib.optionalAttrs optimizeSize {
|
||||
codegen-units = "1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue