[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
101/134: gnu: Add rust-coverage-helper-0.1.
From: |
guix-commits |
Subject: |
101/134: gnu: Add rust-coverage-helper-0.1. |
Date: |
Tue, 3 Dec 2024 10:04:37 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 603d691e900d802499c441dddc238686e71c0aa8
Author: Aaron Covrig <aaron.covrig.us@ieee.org>
AuthorDate: Mon Dec 2 22:00:20 2024 -0500
gnu: Add rust-coverage-helper-0.1.
* gnu/packages/crates-io.scm (rust-coverage-helper-0.1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Iee0af629bf6ba84546bd24b4a38b46273c36bc10
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2936b26d9c..a3aab978ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17397,6 +17397,29 @@ intrinsics.")
@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")
- 47/134: gnu: Add rust-gix-0.63., (continued)
- 47/134: gnu: Add rust-gix-0.63., guix-commits, 2024/12/03
- 30/134: build-system: cargo: Use platform-rust-target., guix-commits, 2024/12/03
- 55/134: gnu: Add rust-regex-cursor-0.1., guix-commits, 2024/12/03
- 59/134: gnu: Add rust-libcst-derive-1., guix-commits, 2024/12/03
- 60/134: gnu: Add rust-libcst-1., guix-commits, 2024/12/03
- 69/134: gnu: rust-fastrand-2: Update to 2.2.0., guix-commits, 2024/12/03
- 81/134: gnu: Add rust-winsafe-0.0.19., guix-commits, 2024/12/03
- 79/134: gnu: Add rust-termwiz-0.15., guix-commits, 2024/12/03
- 92/134: gnu: Add rust-terminal-size-0.4., guix-commits, 2024/12/03
- 99/134: gnu: rust-clap-complete-4: Update to 4.5.38., guix-commits, 2024/12/03
- 101/134: gnu: Add rust-coverage-helper-0.1.,
guix-commits <=
- 109/134: gnu: Add rust-ordered-multimap-0.7., guix-commits, 2024/12/03
- 128/134: gnu: rust-which-6: Update to 6.0.3., guix-commits, 2024/12/03
- 131/134: gnu: rust-whoami-1: Update to 1.5.2., guix-commits, 2024/12/03
- 84/134: gnu: Add rust-windows-version-0.1., guix-commits, 2024/12/03
- 88/134: gnu: Add rust-tauri-winrt-notification-0.2., guix-commits, 2024/12/03
- 90/134: gnu: Add rust-arraydeque-0.5., guix-commits, 2024/12/03
- 93/134: gnu: Add rust-unicode-width-0.2., guix-commits, 2024/12/03
- 41/134: gnu: Add rust-gix-submodule-0.11., guix-commits, 2024/12/03
- 113/134: gnu: rust-pest-meta-2: Update to 2.7.14., guix-commits, 2024/12/03
- 57/134: gnu: rust-peg-runtime-0.8: Update to 0.8.3., guix-commits, 2024/12/03