Skip to content

Commit 0d02860

Browse files
committed
Link to rustc documentation for -C strip
1 parent 75e544d commit 0d02860

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/src/reference/profiles.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ once more testing has been performed, and support for DWARF is stabilized.
9595

9696
#### strip
9797

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

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

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

117118
#### debug-assertions
118119

0 commit comments

Comments
 (0)