Skip to content

Commit

Permalink
Auto merge of #12680 - tompscanlan:split-debuginfo, r=hi-rustin
Browse files Browse the repository at this point in the history
doc: differentiate defaults for split-debuginfo

### What does this PR try to resolve?

Documentation of different values for same named option in two different tools.
could fix #12243

### How should we test and review this PR?

Editor review.
  • Loading branch information
bors committed Sep 18, 2023
2 parents 695416e + 95bf0ab commit b4ddf95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/doc/src/reference/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ split-debuginfo` flag] and is platform-specific. Some options are only
available on the [nightly channel]. The Cargo default may change in the future
once more testing has been performed, and support for DWARF is stabilized.

Be aware that Cargo and rustc have different defaults for this option. This
option exists to allow Cargo to experiment on different combinations of flags
thus providing better debugging and developer experience.

[nightly channel]: ../../book/appendix-07-nightly-rust.html
[`-C split-debuginfo` flag]: ../../rustc/codegen-options/index.html#split-debuginfo

Expand Down

0 comments on commit b4ddf95

Please sign in to comment.