guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/15: gnu: rust: Don't ask to run tests when cross-compiling.


From: guix-commits
Subject: 14/15: gnu: rust: Don't ask to run tests when cross-compiling.
Date: Tue, 30 Aug 2022 03:02:13 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit f60653a0efc5fa27229bf51fa66baa60c80260a5
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 16:47:47 2022 +0200

    gnu: rust: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/rust.scm
    (rust-1.57)[arguments]{#:tests?}: When cross-compiling, set to #false.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/rust.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 67dc5cdaf3..5801a00f2b 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -654,7 +654,7 @@ safety and thread safety guarantees.")
       (arguments
        (substitute-keyword-arguments (package-arguments base-rust)
          ((#:tests? _ #f)
-          #t)
+          (not (%current-target-system)))
          ((#:phases phases)
           `(modify-phases ,phases
              (add-after 'unpack 'relax-gdb-auto-load-safe-path



reply via email to

[Prev in Thread] Current Thread [Next in Thread]