Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/conditional-compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ This can be used to enable extra debugging code in development but not in
production. For example, it controls the behavior of the standard library's
[`debug_assert!`] macro.

### `overflow_checks`

Enabled when program compiled with [overflow checks] enabled, e.g. in development builds.

[overflow checks]: expressions/operator-expr.md#overflow

### `proc_macro`

Set when the crate being compiled is being compiled with the `proc_macro`
Expand Down