Skip to content

Commit c40a69d

Browse files
committed
Auto merge of #12337 - ehuss:config-strip, r=weihanglo
Add profile strip to config docs. This information in the docs was missed when stabilizing in #10088.
2 parents bd0b9fd + b6d1979 commit c40a69d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/doc/src/reference/config.md

+8
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ panic = 'unwind' # The panic strategy.
132132
incremental = true # Incremental compilation.
133133
codegen-units = 16 # Number of code generation units.
134134
rpath = false # Sets the rpath linking option.
135+
strip = "none" # Removes symbols or debuginfo.
135136
[profile.<name>.build-override] # Overrides build-script settings.
136137
# Same keys for a normal profile.
137138
[profile.<name>.package.<name>] # Override profile for a package.
@@ -908,6 +909,13 @@ See [panic](profiles.md#panic).
908909

909910
See [rpath](profiles.md#rpath).
910911

912+
##### `profile.<name>.strip`
913+
* Type: string
914+
* default: See profile docs.
915+
* Environment: `CARGO_PROFILE_<name>_STRIP`
916+
917+
See [strip](profiles.md#strip).
918+
911919

912920
#### `[registries]`
913921

0 commit comments

Comments
 (0)