Skip to content

Commit

Permalink
doc: differentiate defaults for split-debuginfo
Browse files Browse the repository at this point in the history
  • Loading branch information
tompscanlan committed Sep 16, 2023
1 parent d5336f8 commit 95bf0ab
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 95bf0ab

Please sign in to comment.