[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/379: gnu: rust: Update to 1.68.2.
From: |
guix-commits |
Subject: |
02/379: gnu: rust: Update to 1.68.2. |
Date: |
Thu, 29 Jun 2023 12:31:58 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 57637dd80839fbc4ad2ca5d76da3a2db0e3053ad
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 16:35:53 2023 +0300
gnu: rust: Update to 1.68.2.
* gnu/packages/rust.scm (rust): Update to 1.68.2.
[arguments]: Adjust 'skip-shebang-tests phase to moved files. Add
'adjust-rpath-values phase to link to shared libraries.
---
gnu/packages/rust.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 8e106a9927..4ee5ded5de 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -705,7 +705,7 @@ safety and thread safety guarantees.")
(rust-bootstrapped-package
rust-1.67 "1.68.2" "15ifyd5jj8rd979dkakp887hgmhndr68pqaqvd2hqkfdywirqcwk"))
-;;; Note: Only the latest versions of Rust are supported and tested. The
+;;; Note: Only the latest version of Rust is supported and tested. The
;;; intermediate rusts are built for bootstrapping purposes and should not
;;; be relied upon. This is to ease maintenance and reduce the time
;;; required to build the full Rust bootstrap chain.
@@ -713,7 +713,7 @@ safety and thread safety guarantees.")
;;; Here we take the latest included Rust, make it public, and re-enable tests
;;; and extra components such as rustfmt.
(define-public rust
- (let ((base-rust rust-1.67))
+ (let ((base-rust rust-1.68))
(package
(inherit base-rust)
(outputs (cons "rustfmt" (package-outputs base-rust)))
@@ -807,7 +807,7 @@ safety and thread safety guarantees.")
;; We skip the test since it's drastically unlikely Guix's
;; packaging will introduce a bug here.
(lambda _
- (delete-file "src/test/ui/parser/shebang/sneaky-attrib.rs")))
+ (delete-file "tests/ui/parser/shebang/sneaky-attrib.rs")))
(add-after 'unpack 'patch-process-tests
(lambda* (#:key inputs #:allow-other-keys)
(let ((bash (assoc-ref inputs "bash")))
@@ -831,6 +831,17 @@ safety and thread safety guarantees.")
((file) file))
(("fn ctrl_c_kills_everyone")
"#[ignore]\nfn ctrl_c_kills_everyone"))))
+ (add-after 'unpack 'adjust-rpath-values
+ ;; This adds %output:out to rpath, allowing us to install
utilities in
+ ;; different outputs while reusing the shared libraries.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "src/bootstrap/builder.rs"
+ ((" = rpath.*" all)
+ (string-append all
+ " "
+ "rustflags.arg(\"-Clink-args=-Wl,-rpath="
+ out "/lib\");\n"))))))
(add-after 'configure 'add-gdb-to-config
(lambda* (#:key inputs #:allow-other-keys)
(let ((gdb (assoc-ref inputs "gdb")))
- branch rust-team created (now 2640c31ecb), guix-commits, 2023/06/29
- 01/379: gnu: crates-io.scm: Fix package references., guix-commits, 2023/06/29
- 05/379: gnu: Add rust-blake2b-simd-1., guix-commits, 2023/06/29
- 13/379: gnu: Add rust-des-0.8., guix-commits, 2023/06/29
- 06/379: gnu: rust-cargo: Update to 0.69.1., guix-commits, 2023/06/29
- 11/379: gnu: Add rust-der-derive-0.7., guix-commits, 2023/06/29
- 17/379: gnu: rust-generic-array-0.14: Update to 0.14.7., guix-commits, 2023/06/29
- 21/379: gnu: rust-is-terminal-0.4: Update to 0.4.7., guix-commits, 2023/06/29
- 22/379: gnu: rust-keccak-0.1: Update to 0.1.4., guix-commits, 2023/06/29
- 02/379: gnu: rust: Update to 1.68.2.,
guix-commits <=
- 03/379: gnu: rust-cargo-c: Update to 0.9.18., guix-commits, 2023/06/29
- 04/379: gnu: rust-base64ct-1: Update to 1.6.0., guix-commits, 2023/06/29
- 09/379: gnu: Add rust-crypto-bigint-0.5., guix-commits, 2023/06/29
- 08/379: gnu: Add rust-constant-time-eq-0.2., guix-commits, 2023/06/29
- 07/379: gnu: rust-const-oid-0.9: Update to 0.9.2., guix-commits, 2023/06/29
- 10/379: gnu: Add rust-ctor-0.2., guix-commits, 2023/06/29
- 12/379: gnu: Add rust-der-0.7., guix-commits, 2023/06/29
- 14/379: gnu: rust-ed25519-1: Update to 1.5.3., guix-commits, 2023/06/29
- 16/379: gnu: Add rust-ff-derive-0.13., guix-commits, 2023/06/29
- 18/379: gnu: Add rust-hermit-abi-0.3., guix-commits, 2023/06/29