[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/424: gnu: Add rust-1.80.
From: |
guix-commits |
Subject: |
03/424: gnu: Add rust-1.80. |
Date: |
Sun, 10 Nov 2024 05:40:52 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 24155c4329955bd919a30608b03c34b8b3a67e56
Author: Brennan Vincent <brennan@umanwizard.com>
AuthorDate: Mon Aug 26 13:40:56 2024 -0400
gnu: Add rust-1.80.
gnu/packages/rust.scm (rust-1.80): New variable.
Change-Id: Ie7dd276f7b4d606660557f3da42064b04dda1435
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/rust.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index c3b06063f7..e0def663b9 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1023,6 +1023,33 @@ safety and thread safety guarantees.")
(("features = \\[\"fs\"" all)
(string-append all ", \"use-libc\""))))))))))
+(define-public rust-1.80
+ (let ((base-rust (rust-bootstrapped-package rust-1.79 "1.80.1"
+ "1i1dbpwnv6ak244lapsxvd26w6sbas9g4l6crc8bip2275j8y2rc")))
+ (package
+ (inherit base-rust)
+ (source
+ (origin
+ (inherit (package-source base-rust))
+ (snippet
+ '(begin
+ (for-each delete-file-recursively
+ '("src/llvm-project"
+ "vendor/jemalloc-sys-0.5.3+5.3.0-patched/jemalloc"
+ "vendor/jemalloc-sys-0.5.4+5.3.0-patched/jemalloc"
+ "vendor/openssl-src-111.28.2+1.1.1w/openssl"
+
"vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/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.7.1/Cargo.toml"
+ "vendor/tempfile-3.10.1/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)
- 17/424: gnu: Add rust-gio-sys-0.19., (continued)
- 17/424: gnu: Add rust-gio-sys-0.19., guix-commits, 2024/11/10
- 22/424: gnu: Add rust-pango-0.19., guix-commits, 2024/11/10
- 32/424: gnu: rust-trybuild2-1: Update to 1.2.0., guix-commits, 2024/11/10
- 37/424: gnu: rust-anyhow-1: Update to 1.0.89., guix-commits, 2024/11/10
- 41/424: gnu: rust-ciborium-0.2: Update to 0.2.2., guix-commits, 2024/11/10
- 48/424: gnu: rust-libloading-0.8: Update to 0.8.5., guix-commits, 2024/11/10
- 49/424: gnu: rust-memchr-2: Update to 2.7.4., guix-commits, 2024/11/10
- 50/424: gnu: rust-serde-1: Update to 1.0.210., guix-commits, 2024/11/10
- 53/424: gnu: rust-snapbox-0.5: Update to 0.5.14., guix-commits, 2024/11/10
- 60/424: gnu: rust-palette-0.7: Update to 0.7.6., guix-commits, 2024/11/10
- 03/424: gnu: Add rust-1.80.,
guix-commits <=
- 11/424: gnu: rav1e: Add shell completions., guix-commits, 2024/11/10
- 26/424: gnu: Add rust-freetype-rs-0.35., guix-commits, 2024/11/10
- 39/424: gnu: rust-automod-1: Update to 1.0.14., guix-commits, 2024/11/10
- 40/424: gnu: rust-chrono-0.4: Update to 0.4.38., guix-commits, 2024/11/10
- 45/424: gnu: rust-fastrand-2: Update to 2.1.1., guix-commits, 2024/11/10
- 46/424: gnu: rust-getrandom-0.2: Update to 0.2.15., guix-commits, 2024/11/10
- 59/424: gnu: Add rust-scc-2., guix-commits, 2024/11/10
- 58/424: gnu: Add rust-sdd-3., guix-commits, 2024/11/10
- 84/424: gnu: rust-windows-i686-msvc-0.52: Update to 0.52.6., guix-commits, 2024/11/10
- 88/424: gnu: rust-windows-targets-0.52: Update to 0.52.6., guix-commits, 2024/11/10