summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2017-02-03 18:58:47 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-02-08 18:51:43 -0500
commit775a93646cb6db5affff24f2260fb60a7723deba (patch)
tree3ee34bbe42a432a44a0069c69b97d941ba83990a /configure
parent9af6aa38895d3c1d263c52984666893b9ca22fe1 (diff)
downloadrust-775a93646cb6db5affff24f2260fb60a7723deba.tar.gz
rust-775a93646cb6db5affff24f2260fb60a7723deba.zip
build/test the sanitizers only when --enable-sanitizers is used
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 4ce80a5e849..0904143a7b5 100755
--- a/configure
+++ b/configure
@@ -649,6 +649,7 @@ opt codegen-tests 1 "run the src/test/codegen tests"
 opt option-checking 1 "complain about unrecognized options in this configure script"
 opt ninja 0 "build LLVM using the Ninja generator (for MSVC, requires building in the correct environment)"
 opt vendor 0 "enable usage of vendored Rust crates"
+opt sanitizers 0 "build the sanitizer runtimes (asan, lsan, msan, tsan)"
 
 # Optimization and debugging options. These may be overridden by the release channel, etc.
 opt_nosave optimize 1 "build optimized rust code"