rustc: disable tests for aarch64
upstream is doing the same
This commit is contained in:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user