Compare commits

...

4 Commits

Author SHA1 Message Date
AngelicosPhosphoros c0493c92b7
Merge ae15da5783 into 55694913b1 2024-04-05 11:50:48 -04:00
AngelicosPhosphoros ae15da5783
Wording change
Co-authored-by: Eric Huss <eric@huss.org>
2024-01-06 17:34:29 +01:00
AngelicosPhosphoros 56b6225316
Add info about what is overflow
Co-authored-by: Eric Huss <eric@huss.org>
2023-06-16 00:29:48 +04:00
AngelicosPhosphoros 97ddb9dfa5 Add entry about `cfg!(overflow_checks)`
Related to https://github.com/rust-lang/rust/pull/111096
2023-05-02 19:33:43 +04:00
1 changed files with 6 additions and 0 deletions

View File

@ -238,6 +238,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 compiling 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`