Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile backtrace-related deps with opt-level=s #122462

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,15 @@ overflow-checks = false
# (more data to chew through) and binaries to be larger without really all that
# much benefit. This section turns them all to down to have no debuginfo which
# helps to improve link times a little bit.
# For the same reason, we also use opt-level=s to save binary size, at a small
# performance cost.
[profile.release.package]
addr2line.debug = 0
adler.debug = 0
gimli.debug = 0
miniz_oxide.debug = 0
object.debug = 0
addr2line = { debug = 0, opt-level = 's' }
adler = { debug = 0, opt-level = 's' }
gimli = { debug = 0, opt-level = 's' }
miniz_oxide = { debug = 0, opt-level = 's' }
object = { debug = 0, opt-level = 's' }
rustc-demangle = { debug = 0, opt-level = 's' }

# These are very thin wrappers around executing lld with the right binary name.
# Basically nothing within them can go wrong without having been explicitly logged anyway.
Expand Down
Loading