Skip to content

Commit a790819

Browse files
authored
Stop stripping and LTO
*Stop stripping*: Stripping symbols here is bad, because it makes the binary completely opaque and undebbuggable, should something ever go wrong. The binary size benefit is very minor, this program is supposed to run on desktop computers with tons of disk space. The tradeoff is bad. *Stop LTO*: The same binary size non-concerns as stripping apply. Also, speed basically doesn't matter here. Meanwhile, we want this program to be `cargo install`-able, so compile times matter. Again, the tradeoff is bad.
1 parent 1c1dbaa commit a790819

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ repository = "https://github.com/rust-lang/cargo-bisect-rustc"
1111
version = "0.6.8"
1212
edition = "2021"
1313

14-
[profile.release]
15-
strip = "symbols"
16-
lto = "fat"
17-
1814
[dependencies]
1915
dialoguer = { version = "0.11.0", default-features = false }
2016
home = "0.5"

0 commit comments

Comments
 (0)