Skip to content

Commit

Permalink
Auto merge of #9372 - weihanglo:missing-split-debuginfo-in-config, r=…
Browse files Browse the repository at this point in the history
…ehuss

doc: add split-debuginfo doc in config chapter

Follow up for #9224.
  • Loading branch information
bors committed Apr 18, 2021
2 parents 163097c + 8b3c9ad commit 97edf92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/doc/src/reference/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ offline = false # do not access the network
[profile.<name>] # Modify profile settings via config.
opt-level = 0 # Optimization level.
debug = true # Include debug info.
split-debuginfo = '...' # Debug info splitting behavior.
debug-assertions = true # Enables debug assertions.
overflow-checks = true # Enables runtime integer overflow checks.
lto = false # Sets link-time optimization.
Expand Down Expand Up @@ -603,6 +604,13 @@ See [codegen-units](profiles.md#codegen-units).

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

##### `profile.<name>.split-debuginfo`
* Type: string
* Default: See profile docs.
* Environment: `CARGO_PROFILE_<name>_SPLIT_DEBUGINFO`

See [split-debuginfo](profiles.md#split-debuginfo).

##### `profile.<name>.debug-assertions`
* Type: boolean
* Default: See profile docs.
Expand Down

0 comments on commit 97edf92

Please sign in to comment.