Skip to content

Commit 88e462b

Browse files
committed
Add links to codegen docs for rustc synonym flags
The rustc "-g" and "-o" fags are synonyms of the "-c" codegen flags. This adds a link to the codegen docs for each synonym.
1 parent 55c25f8 commit 88e462b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rustc/src/command-line-arguments.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ This flag prints out various information about the compiler.
4242

4343
## `-g`: include debug information
4444

45-
A synonym for `-C debuginfo=2`.
45+
A synonym for `-C debuginfo=2`, for more see [here](codegen-options/index.html#debuginfo).
4646

4747
## `-O`: optimize your code
4848

49-
A synonym for `-C opt-level=2`.
49+
A synonym for `-C opt-level=2`, for more see [here](codegen-options/index.html#opt-level).
5050

5151
## `-o`: filename of the output
5252

0 commit comments

Comments
 (0)