From 8b3c9adfc4dadf77ad23d81a274fe4a7c9cbd26d Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Sun, 18 Apr 2021 09:38:39 +0800 Subject: [PATCH] doc: add split-debuginfo doc in config chapter --- src/doc/src/reference/config.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/doc/src/reference/config.md b/src/doc/src/reference/config.md index 8c30a1c89ef..ef5e7ab6bd8 100644 --- a/src/doc/src/reference/config.md +++ b/src/doc/src/reference/config.md @@ -94,6 +94,7 @@ offline = false # do not access the network [profile.] # 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. @@ -603,6 +604,13 @@ See [codegen-units](profiles.md#codegen-units). See [debug](profiles.md#debug). +##### `profile..split-debuginfo` +* Type: string +* Default: See profile docs. +* Environment: `CARGO_PROFILE__SPLIT_DEBUGINFO` + +See [split-debuginfo](profiles.md#split-debuginfo). + ##### `profile..debug-assertions` * Type: boolean * Default: See profile docs.