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>
This commit is contained in:
Maxime Devos 2022-08-28 16:47:47 +02:00 committed by Mathieu Othacehe
parent d8b960983d
commit f60653a0ef
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -654,7 +654,7 @@ (define rust-1.57
(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