mothacehe pushed a commit to branch master
in repository guix.
commit f60653a0efc5fa27229bf51fa66baa60c80260a5
Author: Maxime Devos <[email protected]>
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 <[email protected]>
---
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