Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
fix missing lto
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Sep 10, 2020
1 parent 62c3554 commit dbf3778
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ let
# @see https://github.com/rust-unofficial/patterns/blob/master/anti_patterns/deny-warnings.md
deny = "warnings";

lto = "thinlto";

# significantly improves cache hit rate when recompiling
# much more reliable than default timestamp based compiler caching
# often (e.g. on CI/windows) we lose timestamp info from the OS
Expand Down

0 comments on commit dbf3778

Please sign in to comment.