mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: rust@1.19.0: Install libtest.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build libtest.
This commit is contained in:
parent
4a90fcf9e7
commit
6c1a658414
1 changed files with 9 additions and 1 deletions
|
@ -411,6 +411,8 @@ (define rust-1.19
|
|||
"output/rustc-build/rustc"
|
||||
"-C" (string-append "linker="
|
||||
(getenv "CC"))
|
||||
;; Required for libterm.
|
||||
"-Z" "force-unstable-if-unmarked"
|
||||
"-L" "output/target-libs"
|
||||
(string-append "src/" name "/lib.rs")
|
||||
"-o"
|
||||
|
@ -430,7 +432,13 @@ (define rust-1.19
|
|||
("libpanic_unwind")
|
||||
;; Uses "cc" to link.
|
||||
("libstd" "-l" "dl" "-l" "rt" "-l" "pthread")
|
||||
("libarena")))
|
||||
("libarena")
|
||||
|
||||
;; Test dependencies:
|
||||
|
||||
("libgetopts")
|
||||
("libterm")
|
||||
("libtest")))
|
||||
#t)))
|
||||
;; This phase is overridden by newer versions.
|
||||
(replace 'check
|
||||
|
|
Loading…
Reference in a new issue