Unverified Commit 8c477858 authored by Jonathan Davies's avatar Jonathan Davies
Browse files

codebook: Enable full LTO

parent 02aa12a2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
  buildAndTestSubdir = "crates/codebook-lsp";
  cargoHash = "sha256-jkYtXrNJTaxrAWpB7ZYsj/LA2tUWVReAnF2cb4TpwE0=";

  CARGO_PROFILE_RELEASE_LTO = "fat";
  CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";

  # Integration tests require internet access for dictionaries
  doCheck = false;