From 7a646df0985236ca8371865bcab978cc7d8ccda6 Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Mon, 11 Oct 2021 19:54:27 +0200 Subject: [PATCH] Add missing entries for overflow-checks to config.toml.example. --- config.toml.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.toml.example b/config.toml.example index d811b914d20..b63ff14d7d3 100644 --- a/config.toml.example +++ b/config.toml.example @@ -423,6 +423,18 @@ changelog-seen = 2 # set this value to `true`. #debug-logging = rust.debug-assertions (boolean) +# Whether or not overflow checks are enabled for the compiler and standard +# library. +# +# Defaults to rust.debug value +#overflow-checks = rust.debug (boolean) + +# Whether or not overflow checks are enabled for the standard library. +# Overrides the `overflow-checks` option, if defined. +# +# Defaults to rust.overflow-checks value +#overflow-checks-std = rust.overflow-checks (boolean) + # Debuginfo level for most of Rust code, corresponds to the `-C debuginfo=N` option of `rustc`. # `0` - no debug info # `1` - line tables only - sufficient to generate backtraces that include line