[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: address@hidden: Install libtest.
From: |
Danny Milosavljevic |
Subject: |
02/02: gnu: address@hidden: Install libtest. |
Date: |
Wed, 19 Sep 2018 08:41:10 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit 6c1a6584149b542321597741b3f1459743be2b3e
Author: Danny Milosavljevic <address@hidden>
Date: Wed Sep 19 14:38:10 2018 +0200
gnu: address@hidden: Install libtest.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build
libtest.
---
gnu/packages/rust.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e1c32db..74de6f3 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -411,6 +411,8 @@ test = { path = \"../libtest\" }
"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 @@ test = { path = \"../libtest\" }
("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