diff --git a/src/doc/src/reference/config.md b/src/doc/src/reference/config.md index 30053bb18a2..ae80deff14f 100644 --- a/src/doc/src/reference/config.md +++ b/src/doc/src/reference/config.md @@ -132,6 +132,7 @@ panic = 'unwind' # The panic strategy. incremental = true # Incremental compilation. codegen-units = 16 # Number of code generation units. rpath = false # Sets the rpath linking option. +strip = "none" # Removes symbols or debuginfo. [profile..build-override] # Overrides build-script settings. # Same keys for a normal profile. [profile..package.] # Override profile for a package. @@ -908,6 +909,13 @@ See [panic](profiles.md#panic). See [rpath](profiles.md#rpath). +##### `profile..strip` +* Type: string +* default: See profile docs. +* Environment: `CARGO_PROFILE__STRIP` + +See [strip](profiles.md#strip). + #### `[registries]`