Skip to content

Commit 97edf92

Browse files
committed
Auto merge of #9372 - weihanglo:missing-split-debuginfo-in-config, r=ehuss
doc: add split-debuginfo doc in config chapter Follow up for #9224.
2 parents 163097c + 8b3c9ad commit 97edf92

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/doc/src/reference/config.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ offline = false # do not access the network
9494
[profile.<name>] # Modify profile settings via config.
9595
opt-level = 0 # Optimization level.
9696
debug = true # Include debug info.
97+
split-debuginfo = '...' # Debug info splitting behavior.
9798
debug-assertions = true # Enables debug assertions.
9899
overflow-checks = true # Enables runtime integer overflow checks.
99100
lto = false # Sets link-time optimization.
@@ -603,6 +604,13 @@ See [codegen-units](profiles.md#codegen-units).
603604

604605
See [debug](profiles.md#debug).
605606

607+
##### `profile.<name>.split-debuginfo`
608+
* Type: string
609+
* Default: See profile docs.
610+
* Environment: `CARGO_PROFILE_<name>_SPLIT_DEBUGINFO`
611+
612+
See [split-debuginfo](profiles.md#split-debuginfo).
613+
606614
##### `profile.<name>.debug-assertions`
607615
* Type: boolean
608616
* Default: See profile docs.

0 commit comments

Comments
 (0)