about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-04-21 18:50:58 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-04-21 18:52:39 +0100
commit14a119e1986cb6d60aef754561f9bbb36729fa43 (patch)
treec64b19cdcad5fac04a8d9e79e26b87af921a37da
parent6fa31bc49c75595575e42cf433b0766407f80e3b (diff)
downloadnixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.tar
nixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.tar.gz
nixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.tar.bz2
nixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.tar.lz
nixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.tar.xz
nixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.tar.zst
nixlib-14a119e1986cb6d60aef754561f9bbb36729fa43.zip
rustc: disable test on i686
They run out of memory and lead to failing tests.

fixes #39110
-rw-r--r--pkgs/development/compilers/rust/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix
index f47c1f753ee1..f191515b745c 100644
--- a/pkgs/development/compilers/rust/default.nix
+++ b/pkgs/development/compilers/rust/default.nix
@@ -20,10 +20,11 @@ in rec {
 
     configureFlags = [ "--release-channel=stable" ];
 
-    # Upstream is not running tests on aarch64:
+    # 1. 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;
+    # 2. Tests run out of memory for i686
+    doCheck = !stdenv.isAarch64 && !stdenv.isi686;
 
     patches = [
       ./patches/0001-Disable-fragile-tests-libstd-net-tcp-on-Darwin-Linux.patch