Use default number of codegen units in release build

The default codegen units is 16 but we set it to 1*.  On my system, this
saves 0.1 MB (2%) in the unstripped binary, while adding 10s (20%) to the
build time.  This doesn't seem worth, better stick to the defaults.

[*] along enabling fat LTO which is debatable too
This commit is contained in:
Johannes Altmanninger 2024-02-03 07:40:59 +01:00
parent f8ca2b0419
commit d9381d1ab6

View file

@ -10,7 +10,6 @@ edition = "2021"
[profile.release]
overflow-checks = true
lto = true
codegen-units = 1
[package]
name = "fish"