diff options
| author | Hans Kratz <hans@appfour.com> | 2021-08-05 05:28:40 +0000 |
|---|---|---|
| committer | Hans Kratz <hans@appfour.com> | 2021-08-06 14:03:53 +0200 |
| commit | 2f7095389d70d3a677d3eb61821e26affe4f92ce (patch) | |
| tree | c489759d71787ca6d6c530c60d16e3920a0aea4f /src/bootstrap/configure.py | |
| parent | 49ca3d9796030fc0a85089460e9f825ceecc08ed (diff) | |
Add options for enabling overflow checks in rustc and std.
The options are `overflow-checks` and `overflow-checks-std` defaulting to false.
Diffstat (limited to 'src/bootstrap/configure.py')
| -rwxr-xr-x | src/bootstrap/configure.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/configure.py b/src/bootstrap/configure.py index a1941efb562..fd148d14478 100755 --- a/src/bootstrap/configure.py +++ b/src/bootstrap/configure.py @@ -75,6 +75,7 @@ o("optimize-llvm", "llvm.optimize", "build optimized LLVM") o("llvm-assertions", "llvm.assertions", "build LLVM with assertions") o("llvm-plugins", "llvm.plugins", "build LLVM with plugin interface") o("debug-assertions", "rust.debug-assertions", "build with debugging assertions") +o("overflow-checks", "rust.overflow-checks", "build with overflow checks") o("llvm-release-debuginfo", "llvm.release-debuginfo", "build LLVM with debugger metadata") v("debuginfo-level", "rust.debuginfo-level", "debuginfo level for Rust code") v("debuginfo-level-rustc", "rust.debuginfo-level-rustc", "debuginfo level for the compiler") |
