(build): disable LTO by default

This commit is contained in:
Eduard Tolosa 2025-05-03 23:37:48 -05:00
parent bd0887f416
commit 2a2058f781

View file

@ -2,7 +2,6 @@
name = "rusnapshot" name = "rusnapshot"
version = "0.4.1" version = "0.4.1"
authors = ["edu4rdshl"] authors = ["edu4rdshl"]
edition = "2018"
description = "Simple and handy btrfs snapshoting tool." description = "Simple and handy btrfs snapshoting tool."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -17,11 +16,3 @@ prettytable-rs = "0.10.0"
anyhow = "1.0.98" anyhow = "1.0.98"
toml = "0.8.22" toml = "0.8.22"
hostname = "0.4.1" hostname = "0.4.1"
[profile.release]
lto = true
codegen-units = 1
panic = 'abort'
incremental = false
opt-level = "s"