rustc: disable tests for aarch64

upstream is doing the same
This commit is contained in:
Jörg Thalheim
2018-04-16 12:28:04 +01:00
parent bd4ad008dd
commit dee60d8e2c
3 changed files with 6 additions and 18 deletions
+6 -3
View File
@@ -20,11 +20,14 @@ in rec {
configureFlags = [ "--release-channel=stable" ];
# Upstream is not running tests on aarch64:
# see https://github.com/rust-lang/rust/issues/49807#issuecomment-380860567
# So we do the same.
doCheck = !stdenv.isAarch64;
patches = [
./patches/0001-Disable-fragile-tests-libstd-net-tcp-on-Darwin-Linux.patch
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch
# https://github.com/rust-lang/rust/issues/45410
++ stdenv.lib.optional stdenv.isAarch64 ./patches/aarch64-disable-test_loading_cosine.patch;
] ++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
};