@@ -83,12 +83,12 @@ controls whether debug information, if generated, is either placed in the
83
83
executable itself or adjacent to it.
84
84
85
85
This 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.
91
90
91
+ [ nightly channel ] : ../../book/appendix-07-nightly-rust.html
92
92
[ `-C split-debuginfo` flag ] : ../../rustc/codegen-options/index.html#split-debuginfo
93
93
94
94
#### debug-assertions
@@ -230,6 +230,7 @@ The default settings for the `dev` profile are:
230
230
[profile .dev ]
231
231
opt-level = 0
232
232
debug = true
233
+ split-debuginfo = ' ...' # Platform-specific.
233
234
debug-assertions = true
234
235
overflow-checks = true
235
236
lto = false
@@ -251,6 +252,7 @@ The default settings for the `release` profile are:
251
252
[profile .release ]
252
253
opt-level = 3
253
254
debug = false
255
+ split-debuginfo = ' ...' # Platform-specific.
254
256
debug-assertions = false
255
257
overflow-checks = false
256
258
lto = false
@@ -271,6 +273,7 @@ The default settings for the `test` profile are:
271
273
[profile .test ]
272
274
opt-level = 0
273
275
debug = 2
276
+ split-debuginfo = ' ...' # Platform-specific.
274
277
debug-assertions = true
275
278
overflow-checks = true
276
279
lto = false
@@ -291,6 +294,7 @@ The default settings for the `bench` profile are:
291
294
[profile .bench ]
292
295
opt-level = 3
293
296
debug = false
297
+ split-debuginfo = ' ...' # Platform-specific.
294
298
debug-assertions = false
295
299
overflow-checks = false
296
300
lto = false
0 commit comments