Skip to content

Commit

Permalink
Auto merge of rust-lang#12748 - nnethercote:add-missing-strip, r=weih…
Browse files Browse the repository at this point in the history
…anglo

Add missing `strip` entries in `dev` and `release` profiles.

The docs for the `dev` and `release` profiles mention 10 of the 11 possible profile settings. This commit adds the missing `strip` entries.
  • Loading branch information
bors committed Sep 28, 2023
2 parents e3acdd3 + 5649773 commit 84445c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/src/reference/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ The default settings for the `dev` profile are:
opt-level = 0
debug = true
split-debuginfo = '...' # Platform-specific.
strip = false
debug-assertions = true
overflow-checks = true
lto = false
Expand All @@ -292,6 +293,7 @@ The default settings for the `release` profile are:
opt-level = 3
debug = false
split-debuginfo = '...' # Platform-specific.
strip = false
debug-assertions = false
overflow-checks = false
lto = false
Expand Down

0 comments on commit 84445c6

Please sign in to comment.