Skip to content

Commit

Permalink
Make rust.overflow-checks-stdoption default to rust.overflow-checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
hkratz committed Oct 12, 2021
1 parent bcf7cf6 commit 905ed5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bootstrap/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 905ed5f

Please sign in to comment.