Skip to content

Commit b4ddf95

Browse files
committed
Auto merge of #12680 - tompscanlan:split-debuginfo, r=hi-rustin
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.
2 parents 695416e + 95bf0ab commit b4ddf95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/src/reference/profiles.md

+4
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ split-debuginfo` flag] and is platform-specific. Some options are only
9696
available on the [nightly channel]. The Cargo default may change in the future
9797
once more testing has been performed, and support for DWARF is stabilized.
9898

99+
Be aware that Cargo and rustc have different defaults for this option. This
100+
option exists to allow Cargo to experiment on different combinations of flags
101+
thus providing better debugging and developer experience.
102+
99103
[nightly channel]: ../../book/appendix-07-nightly-rust.html
100104
[`-C split-debuginfo` flag]: ../../rustc/codegen-options/index.html#split-debuginfo
101105

0 commit comments

Comments
 (0)