GNU bug report logs -
#74551
[PATCH 00/49] Add starship shell utility
Previous Next
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
Message #425 received at 74551 <at> debbugs.gnu.org (full text, mbox):
From: Jordan Moore <lockbox <at> struct.foo>
* gnu/packages/crates-io.scm (rust-coverage-helper-0.2): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index da84cd2fbf..61dba0631e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17355,6 +17355,33 @@ (define-public rust-cov-mark-2
(description "This package provides a Manual coverage marks.")
(license (list license:expat license:asl2.0))))
+(define-public rust-coverage-helper-0.2
+ (package
+ (name "rust-coverage-helper")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "coverage-helper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0knim97n8v0yhn82rm4dvn0gds4fbwzx6f2yjdsiwgdv2wbmax41"))
+ (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
+ (("\\[lints.rust\\]" all)
+ (string-append all "\n"
+ "unexpected_cfgs = { level = \"warn\", check-cfg = ['cfg(coverage_nightly)'] }")))))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/taiki-e/coverage-helper")
+ (synopsis "Helper for cargo-llvm-cov")
+ (description
+ "Helper for
+@url{https://github.com/taiki-e/cargo-llvm-cov/issues/123, cargo-llvm-cov}.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-count-instructions-0.1
(package
(name "rust-count-instructions")
--
2.47.0
This bug report was last modified 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.