summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-10-02 10:05:30 +0200
committerAvatar Marc-Antoine Perennou <keruspe@exherbo.org> 2017-10-02 10:05:30 +0200
commitf5e3bc1e93476ef0cce4aad89b13e3f943694578 (patch)
tree72abbe6d0e689d66be273f5d9847b65df0bfe3f1
parent7f1c38ba97f24152ba93600bb0a3c02ddf03613d (diff)
downloadrust-f5e3bc1e93476ef0cce4aad89b13e3f943694578.tar.gz
rust-f5e3bc1e93476ef0cce4aad89b13e3f943694578.tar.xz
rust: add a way to disable sanitizers
Signed-off-by: Marc-Antoine Perennou <keruspe@exherbo.org>
-rw-r--r--packages/dev-lang/rust/rust-1.20.0-r2.exheres-0 (renamed from packages/dev-lang/rust/rust-1.20.0-r1.exheres-0)0
-rw-r--r--packages/dev-lang/rust/rust-build.exlib3
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/dev-lang/rust/rust-1.20.0-r1.exheres-0 b/packages/dev-lang/rust/rust-1.20.0-r2.exheres-0
index fed06d4..fed06d4 100644
--- a/packages/dev-lang/rust/rust-1.20.0-r1.exheres-0
+++ b/packages/dev-lang/rust/rust-1.20.0-r2.exheres-0
diff --git a/packages/dev-lang/rust/rust-build.exlib b/packages/dev-lang/rust/rust-build.exlib
index 795b822..53f99c8 100644
--- a/packages/dev-lang/rust/rust-build.exlib
+++ b/packages/dev-lang/rust/rust-build.exlib
@@ -42,6 +42,7 @@ abstract and operational – that preserve large-system integrity, availability
HOMEPAGE="https://www.rust-lang.org/"
LICENCES="MIT Apache-2.0"
MYOPTIONS="
+ disable-sanitizers [[ description = [ disabled sanitizers (you shouldn't do that, but they don't build with glibc 2.26) ] ]]
force-bootstrap [[ description = [ force boostrapping of rust in case autobootstrap doesn't work ] ]]
internal-llvm [[ description = [ statically link to the internal llvm instead of the system one ] ]]
( providers: libressl openssl ) [[ number-selected = exactly-one ]]
@@ -197,7 +198,7 @@ vendor = false
full-bootstrap = false
extended = true
verbose = 1
-sanitizers = true
+sanitizers = $(option disable-sanitizers false true)
openssl-static = false
low-priority = false
[install]