about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-01-30 16:47:30 -0800
committerJosh Stone <jistone@redhat.com>2018-01-31 11:41:26 -0800
commite2de8deb0927eb68dbc5986e1fbbd0a1359f8a74 (patch)
tree1e25ffd5d0d86659a1926e52959ea8a8f283f517 /src/tools
parent560a2f4faf4828ba5f48fe2bd7709265c2f5354d (diff)
downloadrust-e2de8deb0927eb68dbc5986e1fbbd0a1359f8a74.tar.gz
rust-e2de8deb0927eb68dbc5986e1fbbd0a1359f8a74.zip
Enable stack-probe tests with system LLVM >= 5.0
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/compiletest/src/header.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs
index ff662736bdd..80750f9a3fe 100644
--- a/src/tools/compiletest/src/header.rs
+++ b/src/tools/compiletest/src/header.rs
@@ -167,7 +167,7 @@ impl EarlyProps {
                         .expect("Malformed llvm version directive");
                     // Ignore if using system LLVM and actual version
                     // is smaller the minimum required version
-                    !(config.system_llvm && &actual_version[..] < min_version)
+                    config.system_llvm && &actual_version[..] < min_version
                 } else {
                     false
                 }