build-system/cargo: Remove unused function.
authorEfraim Flashner <efraim@flashner.co.il>
Fri, 13 Sep 2019 12:09:34 +0000 (15:09 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Fri, 13 Sep 2019 12:20:27 +0000 (15:20 +0300)
* guix/build/cargo-build-system.scm (touch): Remove it.

guix/build/cargo-build-system.scm

index c69cae5..4be5443 100644 (file)
@@ -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")))