Skip to content

Commit

Permalink
Link to rustc documentation for -C strip
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtriplett committed Dec 24, 2021
1 parent 75e544d commit 0d02860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/src/reference/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ once more testing has been performed, and support for DWARF is stabilized.

#### strip

The `strip` option controls the rustc `-C strip` option, which directs rustc to
The `strip` option controls the [`-C strip` flag], which directs rustc to
strip either symbols or debuginfo from a binary. This can be enabled like so:

```toml
Expand All @@ -113,6 +113,7 @@ You can also configure this option with the two absolute boolean values
`true` and `false`. The former enables `strip` at its higher level, `symbols`,
while the latter disables `strip` completely.

[`-C strip` flag]: ../../rustc/codegen-options/index.html#strip

#### debug-assertions

Expand Down

0 comments on commit 0d02860

Please sign in to comment.