Use 'thin' LTO to reduce build time

On my machine, linking takes ~10s with 'thin' LTO and ~40s with 'fat' LTO.
This commit is contained in:
Roman Zeyde 2024-12-26 21:16:22 +02:00
parent fc8f75606b
commit 11cae2fa91

View file

@ -62,4 +62,4 @@ hex_lit = "0.1.1"
tempfile = "3.14"
[profile.release]
lto = true
lto = "thin"