diff options
| author | Hans Kratz <hans@appfour.com> | 2021-10-12 21:28:49 +0200 |
|---|---|---|
| committer | Hans Kratz <hans@appfour.com> | 2021-10-12 21:57:40 +0200 |
| commit | 905ed5fa89d613f7d77509f49f47ebbd85469063 (patch) | |
| tree | fc852809020bb9f4a3247075e1053d554f9536ca /src/bootstrap | |
| parent | bcf7cf6670adc17e84410e3d079002f5c338921a (diff) | |
| download | rust-905ed5fa89d613f7d77509f49f47ebbd85469063.tar.gz rust-905ed5fa89d613f7d77509f49f47ebbd85469063.zip | |
Make `rust.overflow-checks-std`option default to `rust.overflow-checks`.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/config.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/config.rs b/src/bootstrap/config.rs index 062820040dc..7818b8b7d51 100644 --- a/src/bootstrap/config.rs +++ b/src/bootstrap/config.rs @@ -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); |
