[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add rust-1.73.
|
From: |
guix-commits |
|
Subject: |
branch master updated: gnu: Add rust-1.73. |
|
Date: |
Mon, 23 Oct 2023 02:58:59 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 54e88d8da5 gnu: Add rust-1.73.
54e88d8da5 is described below
commit 54e88d8da5ee1c0591b106b63e1c9437967ab52c
Author: Herman Rimm <herman_rimm@protonmail.com>
AuthorDate: Sun Oct 15 15:33:24 2023 +0000
gnu: Add rust-1.73.
* gnu/packages/rust.scm (rust-1.73): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I97ab62112cd9386427d3cf8f9f6e1700492966b1
---
gnu/packages/rust.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 5d81655423..2f1b6f90d7 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,29 @@ safety and thread safety guarantees.")
(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)
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add rust-1.73.,
guix-commits <=