Skip to content

Commit

Permalink
Add links to codegen docs for rustc synonym flags
Browse files Browse the repository at this point in the history
The rustc "-g" and "-o" fags are synonyms of the "-c" codegen flags.
This adds a link to the codegen docs for each synonym.
  • Loading branch information
TheBiggerGuy committed Feb 17, 2019
1 parent 55c25f8 commit 88e462b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/rustc/src/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ This flag prints out various information about the compiler.

## `-g`: include debug information

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

## `-O`: optimize your code

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

## `-o`: filename of the output

Expand Down

0 comments on commit 88e462b

Please sign in to comment.