gnu: rust@1.19.0: Install libtest.

* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build
libtest.
This commit is contained in:
Danny Milosavljevic 2018-09-19 14:38:10 +02:00
parent 4a90fcf9e7
commit 6c1a658414
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5

View File

@ -411,6 +411,8 @@ test = { path = \"../libtest\" }
"output/rustc-build/rustc" "output/rustc-build/rustc"
"-C" (string-append "linker=" "-C" (string-append "linker="
(getenv "CC")) (getenv "CC"))
;; Required for libterm.
"-Z" "force-unstable-if-unmarked"
"-L" "output/target-libs" "-L" "output/target-libs"
(string-append "src/" name "/lib.rs") (string-append "src/" name "/lib.rs")
"-o" "-o"
@ -430,7 +432,13 @@ test = { path = \"../libtest\" }
("libpanic_unwind") ("libpanic_unwind")
;; Uses "cc" to link. ;; Uses "cc" to link.
("libstd" "-l" "dl" "-l" "rt" "-l" "pthread") ("libstd" "-l" "dl" "-l" "rt" "-l" "pthread")
("libarena"))) ("libarena")
;; Test dependencies:
("libgetopts")
("libterm")
("libtest")))
#t))) #t)))
;; This phase is overridden by newer versions. ;; This phase is overridden by newer versions.
(replace 'check (replace 'check