guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

391/472: gnu: rust-ref-cast-1: Update to 1.0.18.


From: guix-commits
Subject: 391/472: gnu: rust-ref-cast-1: Update to 1.0.18.
Date: Tue, 18 Jul 2023 14:09:46 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 2415800b92f7e31d5abae311aa109f3c33179603
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jul 13 12:32:04 2023 +0300

    gnu: rust-ref-cast-1: Update to 1.0.18.
    
    * gnu/packages/crates-io.scm (rust-ref-cast-1): Update to 1.0.18.
    [arguments]: Skip tests.
    [cargo-development-inputs]: Add rust-ref-cast-test-suite-0.0.0.
---
 gnu/packages/crates-io.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2454139184..dd8e3f0d0d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51506,7 +51506,7 @@ initial value.")
 (define-public rust-ref-cast-1
   (package
     (name "rust-ref-cast")
-    (version "1.0.2")
+    (version "1.0.18")
     (source
      (origin
        (method url-fetch)
@@ -51515,13 +51515,15 @@ initial value.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "08r6qz7228k55nlyl5v7ykdzxrasnawgzmb1jrbfbnkx2s3ifp3l"))))
+         "0sxzy3f0zmclsmi1z17n16xbjbp99d5c6nh7592yy6f3fya82h8n"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:tests? #f          ; Doesn't always interact well with the test crate.
+       #:cargo-inputs
        (("rust-ref-cast-impl" ,rust-ref-cast-impl-1))
        #:cargo-development-inputs
-       (("rust-rustversion" ,rust-rustversion-1)
+       (("rust-ref-cast-test-suite" ,rust-ref-cast-test-suite-0.0.0)
+        ("rust-rustversion" ,rust-rustversion-1)
         ("rust-trybuild" ,rust-trybuild-1))))
     (home-page "https://github.com/dtolnay/ref-cast";)
     (synopsis "Safely cast &T to &U")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]