GNU bug report logs - #66564
[PATCH rust-team] gnu: Add rust-1.73.

Previous Next

Package: guix-patches;

Reported by: herman_rimm <herman_rimm <at> protonmail.com>

Date: Sun, 15 Oct 2023 16:22:01 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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: herman_rimm <herman_rimm <at> protonmail.com>
Subject: bug#66564: closed (Re: [bug#66564] [PATCH rust-team] gnu: Add
 rust-1.73.)
Date: Mon, 23 Oct 2023 07:00:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#66564: [PATCH rust-team] gnu: Add rust-1.73.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 66564 <at> debbugs.gnu.org.

-- 
66564: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66564
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: herman_rimm <herman_rimm <at> protonmail.com>
Cc: 66564-done <at> debbugs.gnu.org
Subject: Re: [bug#66564] [PATCH rust-team] gnu: Add rust-1.73.
Date: Mon, 23 Oct 2023 09:59:15 +0300
[Message part 3 (text/plain, inline)]
Thanks. Patch pushed!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: herman_rimm <herman_rimm <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH rust-team] gnu: Add rust-1.73.
Date: Sun, 15 Oct 2023 15:33:24 +0000
From e9807f12b18ae7405fb63002d4f3f7b5b500b6f7 Mon Sep 17 00:00:00 2001
From: Herman Rimm <herman_rimm <at> protonmail.com>
Date: Sun, 15 Oct 2023 15:10:26 +0200
Subject: [PATCH rust-team] gnu: Add rust-1.73.

* gnu/packages/rust.scm (rust-1.73): New variable.
---
 gnu/packages/rust.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 5d81655423..b50d2fdf24 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2022 Jim Newsome <jnewsome <at> torproject.org>
 ;;; Copyright © 2022 Mark H Weaver <mhw <at> netris.org>
 ;;; Copyright © 2023 Fries <fries1234 <at> protonmail.com>
+;;; Copyright © 2023 Herman Rimm <herman_rimm <at> protonmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -787,6 +788,28 @@ (define rust-1.72
                  (string-append "rustix = { version = \"=0.37.11\","
                                 " features = [\"use-libc\"] }"))))))))))
 
+(define rust-1.73
+  (let ((base-rust (rust-bootstrapped-package rust-1.72 "1.73.0"
+                    "0fmvn7vg3qg9xprgfwv10g3ygy8i4j4bkcxcr1xdy89d3xnjxmln")))
+    (package
+      (inherit base-rust)
+      (source
+       (origin
+         (inherit (package-source base-rust))
+         (snippet '(begin
+                     (for-each delete-file-recursively
+                               '("src/llvm-project"
+                                 "vendor/tikv-jemalloc-sys/jemalloc"))
+                     ;; Remove vendored dynamically linked libraries.
+                     ;; find . -not -type d -executable -exec file {} \+ | grep ELF
+                     ;; Also remove the bundled (mostly Windows) libraries.
+                     (for-each delete-file
+                               (find-files "vendor" "\\.(a|dll|exe|lib)$"))
+                     ;; Adjust vendored dependency to explicitly use rustix with libc backend.
+                     (substitute* "vendor/tempfile-3.6.0/Cargo.toml"
+                       (("features = \\[\"fs\"" all)
+                        (string-append all ", \"use-libc\""))))))))))
+
 (define (make-ignore-test-list strs)
   "Function to make creating a list to ignore tests a bit easier."
   (map (lambda (str)
-- 
2.41.0





This bug report was last modified 1 year and 291 days ago.

Previous Next


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