* [bug#66564] [PATCH rust-team] gnu: Add rust-1.73.
@ 2023-10-15 15:33 herman_rimm via Guix-patches via
2023-10-23 6:59 ` bug#66564: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: herman_rimm via Guix-patches via @ 2023-10-15 15:33 UTC (permalink / raw)
To: 66564
From e9807f12b18ae7405fb63002d4f3f7b5b500b6f7 Mon Sep 17 00:00:00 2001
From: Herman Rimm <herman_rimm@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@torproject.org>
;;; Copyright © 2022 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2023 Fries <fries1234@protonmail.com>
+;;; Copyright © 2023 Herman Rimm <herman_rimm@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#66564: [PATCH rust-team] gnu: Add rust-1.73.
2023-10-15 15:33 [bug#66564] [PATCH rust-team] gnu: Add rust-1.73 herman_rimm via Guix-patches via
@ 2023-10-23 6:59 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2023-10-23 6:59 UTC (permalink / raw)
To: herman_rimm; +Cc: 66564-done
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
Thanks. Patch pushed!
--
Efraim Flashner <efraim@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-23 7:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-15 15:33 [bug#66564] [PATCH rust-team] gnu: Add rust-1.73 herman_rimm via Guix-patches via
2023-10-23 6:59 ` bug#66564: " Efraim Flashner
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.