[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
275/276: gnu: Add rust-1.72.
From: |
guix-commits |
Subject: |
275/276: gnu: Add rust-1.72. |
Date: |
Wed, 18 Oct 2023 04:50:39 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit d45992833b4c290de041afaae50eb386d5ea944e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 00:09:33 2023 +0300
gnu: Add rust-1.72.
* gnu/packages/rust.scm (rust-1.72): New variable.
---
gnu/packages/rust.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e158a144e5..5d81655423 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -762,6 +762,31 @@ safety and thread safety guarantees.")
(string-append name "\"" ,%cargo-reference-hash "\"")))
(generate-all-checksums "vendor"))))))))))
+(define rust-1.72
+ (let ((base-rust
+ (rust-bootstrapped-package
+ rust-1.71 "1.72.1"
"15gqd1jzhnc16a7gjmav4x1v83jjbzyjh1gvcdfvpkajd9gq8j3z")))
+ (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 rustc_driver to explicitly use rustix with libc
backend.
+ (substitute* "compiler/rustc_driver/Cargo.toml"
+ (("rustix = \"=0.37.11\"")
+ (string-append "rustix = { version = \"=0.37.11\","
+ " features = [\"use-libc\"] }"))))))))))
+
(define (make-ignore-test-list strs)
"Function to make creating a list to ignore tests a bit easier."
(map (lambda (str)
- 255/276: gnu: rust-vcpkg-0.2: Remove bundled libraries., (continued)
- 255/276: gnu: rust-vcpkg-0.2: Remove bundled libraries., guix-commits, 2023/10/18
- 258/276: gnu: rust-webpki-roots-0.16: Skip building., guix-commits, 2023/10/18
- 257/276: gnu: rust-webpki-0.19: Skip building., guix-commits, 2023/10/18
- 260/276: gnu: Add rust-hdrhistogram-7., guix-commits, 2023/10/18
- 261/276: gnu: Add rust-tower-test-0.4., guix-commits, 2023/10/18
- 263/276: gnu: rust-tower-layer-0.3: Update to 0.3.2., guix-commits, 2023/10/18
- 265/276: gnu: rust-compact-str-0.7: Update to 0.7.1., guix-commits, 2023/10/18
- 266/276: gnu: rust-nitrokey-sys-3: Update to 3.7.0., guix-commits, 2023/10/18
- 267/276: gnu: rust-nitrokey-test-0.5: Skip build., guix-commits, 2023/10/18
- 269/276: gnu: rust-rustls-0.15: Skip build., guix-commits, 2023/10/18
- 275/276: gnu: Add rust-1.72.,
guix-commits <=
- 274/276: gnu: Add rust-1.71., guix-commits, 2023/10/18
- 60/276: gnu: rust-syn-2: Update to 2.0.37., guix-commits, 2023/10/18
- 67/276: gnu: rust-wasm-bindgen-futures-0.4: Update to 0.4.37., guix-commits, 2023/10/18
- 102/276: gnu: rust-mio-0.8: Update to 0.8.8., guix-commits, 2023/10/18
- 108/276: gnu: Add rust-serial-test-derive-2., guix-commits, 2023/10/18
- 107/276: gnu: Add rust-serial-test-2., guix-commits, 2023/10/18
- 123/276: gnu: Add rust-auto-impl-0.5., guix-commits, 2023/10/18
- 136/276: gnu: Add rust-napi-derive-backend-1., guix-commits, 2023/10/18
- 128/276: gnu: rust-proptest-1: Update to 1.3.1., guix-commits, 2023/10/18
- 130/276: gnu: rust-retain-mut-0.1: Update to 0.1.9., guix-commits, 2023/10/18