guix-patches
[Top][All Lists]
Advanced

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

[bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagno


From: Aaron Covrig
Subject: [bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10.
Date: Fri, 5 Apr 2024 20:44:32 -0400

* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.10): Enables 
building

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36b5eb5496..365d82aef2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55834,13 +55834,14 @@ (define-public rust-proc-macro2-diagnostics-0.10
         (base32 "1j48ipc80pykvhx6yhndfa774s58ax1h6sm6mlhf09ls76f6l1mg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; cannot determine resolution for the macro 
`diagnostic_item`
+     `(#:cargo-test-flags '("--" "--skip=main")
        #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2)
-                       ("rust-version-check" ,rust-version-check-0.9)
-                       ("rust-yansi" ,rust-yansi-1))
-       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+                       ("rust-yansi" ,rust-yansi-1)
+                       ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" 
,rust-version-check-0.9))))
     (home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics";)
     (synopsis "Diagnostics for proc-macro2")
     (description "Diagnostics for stable and nightly proc-macros!")
-- 
2.41.0






reply via email to

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