[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: build-system/cargo: Remove unused function.
From: |
guix-commits |
Subject: |
02/02: build-system/cargo: Remove unused function. |
Date: |
Fri, 13 Sep 2019 08:27:36 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 3af85f832dd007296ec64ddc34beadd397481311
Author: Efraim Flashner <address@hidden>
Date: Fri Sep 13 15:09:34 2019 +0300
build-system/cargo: Remove unused function.
* guix/build/cargo-build-system.scm (touch): Remove it.
---
guix/build/cargo-build-system.scm | 3 ---
1 file changed, 3 deletions(-)
diff --git a/guix/build/cargo-build-system.scm
b/guix/build/cargo-build-system.scm
index c69cae5..4be54430 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -168,9 +168,6 @@ directory = '" port)
(apply invoke `("cargo" "test" ,@cargo-test-flags))
#t))
-(define (touch file-name)
- (call-with-output-file file-name (const #t)))
-
(define* (install #:key inputs outputs skip-build? #:allow-other-keys)
"Install a given Cargo package."
(let* ((out (assoc-ref outputs "out")))