mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: rust: Add make-ignore-test-list function.
A little helper function to make creating a list to ignore tests easier. * gnu/packages/rust.scm (make-ignore-test-list): New function. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
299a223835
commit
839f16dbee
1 changed files with 6 additions and 0 deletions
|
@ -743,6 +743,12 @@ (define rust-1.70
|
|||
;; for a precompiled library.
|
||||
(patches (search-patches "rust-1.70-fix-rustix-build.patch")))))))
|
||||
|
||||
(define (make-ignore-test-list strs)
|
||||
"Function to make creating a list to ignore tests a bit easier."
|
||||
(map (lambda (str)
|
||||
`((,str) (string-append "#[ignore]\n" ,str)))
|
||||
strs))
|
||||
|
||||
;;; Note: Only the latest version of Rust is supported and tested. The
|
||||
;;; intermediate rusts are built for bootstrapping purposes and should not
|
||||
;;; be relied upon. This is to ease maintenance and reduce the time
|
||||
|
|
Loading…
Reference in a new issue