@@ -83,12 +83,12 @@ controls whether debug information, if generated, is either placed in the
8383executable itself or adjacent to it.
8484
8585This option is a string and acceptable values are the same as those the
86- [ compiler accepts] [ `-C split-debuginfo` flag ] . This option is currently not
87- passed by default on platforms other than macOS, where it defaults to
88- ` unpacked ` . The default may change in the future for platforms using DWARF
89- debugging information and ELF executables to ` unpacked ` as well once it is
90- stabilized in the compiler.
86+ [ compiler accepts] [ `-C split-debuginfo` flag ] . See that documentation for the
87+ default behavior, which is platform-specific. Some options are only available
88+ on the [ nightly channel] . The default may change in the future once more
89+ testing has been performed, and support for DWARF is stabilized.
9190
91+ [ nightly channel ] : ../../book/appendix-07-nightly-rust.html
9292[ `-C split-debuginfo` flag ] : ../../rustc/codegen-options/index.html#split-debuginfo
9393
9494#### debug-assertions
@@ -230,6 +230,7 @@ The default settings for the `dev` profile are:
230230[profile .dev ]
231231opt-level = 0
232232debug = true
233+ split-debuginfo = ' ...' # Platform-specific.
233234debug-assertions = true
234235overflow-checks = true
235236lto = false
@@ -251,6 +252,7 @@ The default settings for the `release` profile are:
251252[profile .release ]
252253opt-level = 3
253254debug = false
255+ split-debuginfo = ' ...' # Platform-specific.
254256debug-assertions = false
255257overflow-checks = false
256258lto = false
@@ -271,6 +273,7 @@ The default settings for the `test` profile are:
271273[profile .test ]
272274opt-level = 0
273275debug = 2
276+ split-debuginfo = ' ...' # Platform-specific.
274277debug-assertions = true
275278overflow-checks = true
276279lto = false
@@ -291,6 +294,7 @@ The default settings for the `bench` profile are:
291294[profile .bench ]
292295opt-level = 3
293296debug = false
297+ split-debuginfo = ' ...' # Platform-specific.
294298debug-assertions = false
295299overflow-checks = false
296300lto = false
0 commit comments