summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-13 15:09:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-13 15:20:27 +0300
commit3af85f832dd007296ec64ddc34beadd397481311 (patch)
tree1dc7ee54ccc5695cb20a4335bfb2f75d433e5fce
parent43ffa11fdc4de4197a1096f6ebc4067115f9eb26 (diff)
build-system/cargo: Remove unused function.
* guix/build/cargo-build-system.scm (touch): Remove it.
-rw-r--r--guix/build/cargo-build-system.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index c69cae5afd..4be5443083 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")))