Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/doc/src/reference/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ strip = "debuginfo"
```

Possible string values of `strip` are `"none"`, `"debuginfo"`, and `"symbols"`.
The default is `"none"`.
The default is `"none"`. However, if [`debug`](#debug) is not enabled for any
package in the dependency graph and `strip` is not explicitly set, it is
overridden to `"debuginfo"`.

You can also configure this option with the boolean values `true` or `false`.
`strip = true` is equivalent to `strip = "symbols"`. `strip = false` is
Expand Down Expand Up @@ -305,6 +307,9 @@ codegen-units = 16
rpath = false
```

Note that `strip` may automatically be overridden as described in
[its section](#strip).

### test

The `test` profile is the default profile used by [`cargo test`].
Expand Down