-
Notifications
You must be signed in to change notification settings - Fork 1.8k
chore: Strip debuginfo symbols for release #14843
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
Changes from 4 commits
85fb6a4
75f7f02
a614dfb
c1db541
dc45395
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -159,19 +159,20 @@ url = "2.5.4" | |
| [profile.release] | ||
| codegen-units = 1 | ||
| lto = true | ||
| debug = false | ||
| strip = true | ||
| panic = "abort" | ||
|
||
|
|
||
| # the release profile takes a long time to build so we can use this profile during development to save time | ||
| # cargo build --profile release-nonlto | ||
| [profile.release-nonlto] | ||
| codegen-units = 16 | ||
| debug = false | ||
| debug-assertions = false | ||
| incremental = false | ||
| inherits = "release" | ||
| lto = false | ||
| opt-level = 3 | ||
| overflow-checks = false | ||
| panic = 'unwind' | ||
| rpath = false | ||
|
|
||
| [profile.ci] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I believe this is superfluous - https://doc.rust-lang.org/cargo/reference/profiles.html#debug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree