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 (
|
RUSTFLAGS = toRustFlags (
|
||||||
lib.optionalAttrs lto {
|
lib.optionalAttrs lto {
|
||||||
lto = "thin";
|
lto = "thin";
|
||||||
embed-bicode = "yes";
|
embed-bitcode = "yes";
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs optimizeSize {
|
// lib.optionalAttrs optimizeSize {
|
||||||
codegen-units = "1";
|
codegen-units = "1";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue