We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-C opt-level=0
-C debug-assertions
1 parent 14b9665 commit 284f0d3Copy full SHA for 284f0d3
src/doc/rustc/src/codegen-options/index.md
@@ -187,7 +187,7 @@ This flag lets you control debug information:
187
188
This flag lets you control the optimization level.
189
190
-* `0`: no optimizations
+* `0`: no optimizations, also turn on `cfg(debug_assertions)`.
191
* `1`: basic optimizations
192
* `2`: some optimizations
193
* `3`: all optimizations
0 commit comments