GNU bug report logs - #74551
[PATCH 00/49] Add starship shell utility

Previous Next

Package: guix-patches;

Reported by: Jordan Moore <lockbox <at> struct.foo>

Date: Tue, 26 Nov 2024 21:36:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Aaron Covrig <aaron.covrig.us <at> ieee.org>
To: 74551 <at> debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us <at> ieee.org>
Subject: [bug#74551] [PATCH rust-team v3 40/73] gnu: Add rust-coverage-helper-0.1.
Date: Mon,  2 Dec 2024 22:00:20 -0500
* gnu/packages/crates-io.scm (rust-coverage-helper-0.1): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 61dba0631e..1ebecbe335 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17382,6 +17382,28 @@ (define-public rust-coverage-helper-0.2
 @url{https://github.com/taiki-e/cargo-llvm-cov/issues/123, cargo-llvm-cov}.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-coverage-helper-0.1
+  (package
+    (inherit rust-coverage-helper-0.2)
+    (name "rust-coverage-helper")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "coverage-helper" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1jmm45536nnwgpbgabnngr21n7sjmga0bm4yzaflx925xfll3m0g"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   (substitute* "Cargo.toml"
+                     ;; cfg_attr(coverage_nightly) breaks some cargo versions
+                     ;; See issue: https://github.com/taiki-e/cargo-llvm-cov/issues/370
+                     (("\\[lib\\]" all)
+                      (string-append "[lints.rust]" "\n"
+                       "unexpected_cfgs = { level = \"warn\", check-cfg = ['cfg(coverage_nightly)'] }"
+                       "\n" "\n" all)))))))))
+
 (define-public rust-count-instructions-0.1
   (package
     (name "rust-count-instructions")
-- 
2.47.0





This bug report was last modified 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.