about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-06 15:35:01 +0000
committerbors <bors@rust-lang.org>2021-08-06 15:35:01 +0000
commit24380a60f5452a673ed892a3c12b9556b57b12a1 (patch)
treeba2d564a3528250d87f752aab56f7f824b95cb83 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent4c29cc8fd09889880880cb6081174c79744ab1b6 (diff)
parent2f7095389d70d3a677d3eb61821e26affe4f92ce (diff)
downloadrust-24380a60f5452a673ed892a3c12b9556b57b12a1.tar.gz
rust-24380a60f5452a673ed892a3c12b9556b57b12a1.zip
Auto merge of #87784 - rusticstuff:bootstrap_config_overflow_checks, r=Mark-Simulacrum
Add config.toml options for enabling overflow checks in rustc and std

The names are `overflow-checks` and `overflow-checks-std` and they work similar to  `debug-assertions` and `debug-assertions-std`. Once added we can measure how big the performance impact actually is and maybe enable them for CI tests.

Enabling them already makes two ui tests fail:
```
failures:
    [ui] ui/parser/item-free-const-no-body-semantic-fail.rs
    [ui] ui/parser/item-free-static-no-body-semantic-fail.rs
```
(See #84219 and #87761.)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions