Make rust.overflow-checks-stdoption default to rust.overflow-checks.

This commit is contained in:
Hans Kratz 2021-10-12 21:28:49 +02:00
parent bcf7cf6670
commit 905ed5fa89

View file

@ -982,7 +982,8 @@ impl Config {
config.rust_debug_assertions_std =
debug_assertions_std.unwrap_or(config.rust_debug_assertions);
config.rust_overflow_checks = overflow_checks.unwrap_or(default);
config.rust_overflow_checks_std = overflow_checks_std.unwrap_or(default);
config.rust_overflow_checks_std =
overflow_checks_std.unwrap_or(config.rust_overflow_checks);
config.rust_debug_logging = debug_logging.unwrap_or(config.rust_debug_assertions);