Skip to content

Commit

Permalink
Document that -C opt-level=0 implies -C debug-assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Dec 26, 2018
1 parent 14b9665 commit 284f0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/codegen-options/index.md
Expand Up @@ -187,7 +187,7 @@ This flag lets you control debug information:

This flag lets you control the optimization level.

* `0`: no optimizations
* `0`: no optimizations, also turn on `cfg(debug_assertions)`.
* `1`: basic optimizations
* `2`: some optimizations
* `3`: all optimizations
Expand Down

0 comments on commit 284f0d3

Please sign in to comment.