diff options
| author | daxpedda <1645124+daxpedda@users.noreply.github.com> | 2018-12-26 18:19:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-26 18:19:46 +0100 |
| commit | 284f0d364588821ba7e2ea0c42845fcbbf722290 (patch) | |
| tree | 8681280f2877a520f271ad1c4795496e86d93895 /src | |
| parent | 14b96659e4e9b2f31431df48f47c219957e2666a (diff) | |
| download | rust-284f0d364588821ba7e2ea0c42845fcbbf722290.tar.gz rust-284f0d364588821ba7e2ea0c42845fcbbf722290.zip | |
Document that `-C opt-level=0` implies `-C debug-assertions`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc/src/codegen-options/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/codegen-options/index.md b/src/doc/rustc/src/codegen-options/index.md index 94f21042c8f..a616409d9a4 100644 --- a/src/doc/rustc/src/codegen-options/index.md +++ b/src/doc/rustc/src/codegen-options/index.md @@ -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 |
