Skip to content

Commit

Permalink
fix(nix): fix LTO flags
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Nov 12, 2024
1 parent 8d26b6d commit 72a0f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 72a0f64

Please sign in to comment.