Skip to content

Commit 55c25f8

Browse files
committed
Fix doc for rustc "-g" flag
The rustc "-g" CLI flag was miss documented to be a synonym of "-C debug-level=2" and not the correct "-C debuginfo=2".
1 parent 8af675a commit 55c25f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

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

45-
A synonym for `-C debug-level=2`.
45+
A synonym for `-C debuginfo=2`.
4646

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

0 commit comments

Comments
 (0)