@@ -126,14 +126,14 @@ inherits = "dev" # Inherits settings from [profile.dev].
126
126
opt-level = 0 # Optimization level.
127
127
debug = true # Include debug info.
128
128
split-debuginfo = ' ...' # Debug info splitting behavior.
129
+ strip = " none" # Removes symbols or debuginfo.
129
130
debug-assertions = true # Enables debug assertions.
130
131
overflow-checks = true # Enables runtime integer overflow checks.
131
132
lto = false # Sets link-time optimization.
132
133
panic = ' unwind' # The panic strategy.
133
134
incremental = true # Incremental compilation.
134
135
codegen-units = 16 # Number of code generation units.
135
136
rpath = false # Sets the rpath linking option.
136
- strip = " none" # Removes symbols or debuginfo.
137
137
[profile .<name> .build-override ] # Overrides build-script settings.
138
138
# Same keys for a normal profile.
139
139
[profile .<name> .package .<name> ] # Override profile for a package.
@@ -889,6 +889,13 @@ See [debug](profiles.md#debug).
889
889
890
890
See [ split-debuginfo] ( profiles.md#split-debuginfo ) .
891
891
892
+ #### ` profile.<name>.strip `
893
+ * Type: string or boolean
894
+ * Default: See profile docs.
895
+ * Environment: ` CARGO_PROFILE_<name>_STRIP `
896
+
897
+ See [ strip] ( profiles.md#strip ) .
898
+
892
899
#### ` profile.<name>.debug-assertions `
893
900
* Type: boolean
894
901
* Default: See profile docs.
0 commit comments