[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add rust-1.77.0.
From: |
guix-commits |
Subject: |
04/06: gnu: Add rust-1.77.0. |
Date: |
Wed, 26 Jun 2024 05:36:27 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit a47b695926e12850fc8055ede6c342d02ecd18ec
Author: Brennan Vincent <brennan@umanwizard.com>
AuthorDate: Sun Mar 24 10:27:38 2024 -0400
gnu: Add rust-1.77.0.
* gnu/packages/rust.scm (rust-1.77): New variable.
Change-Id: Ia4611b0ea153bce1de97e711af6d3f7396a6bf85
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/rust.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index dc4b0aa094..9d3dfa65ad 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -957,6 +957,30 @@ safety and thread safety guarantees.")
(inputs (modify-inputs (package-inputs base-rust)
(replace "llvm" llvm-17))))))
+(define-public rust-1.77
+ (let ((base-rust (rust-bootstrapped-package rust-1.76 "1.77.0"
+ "11rda8d8qj24a5mkjzj1x6x9pkvaq0zlhkgdp5b39zj5m0gwsv0d")))
+ (package
+ (inherit base-rust)
+ (arguments
+ (substitute-keyword-arguments (package-arguments base-rust)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-after 'configure 'no-optimized-compiler-builtins
+ (lambda _
+ ;; Pre-1.77, the behavior was equivalent to this flag being
+ ;; "false" if the llvm-project submodule wasn't checked out.
+ ;;
+ ;; Now there's an explicit check, so the build fails if we
don't
+ ;; manually disable this (given that we don't have the
submodule checked out).
+ ;; Thus making the build behave the same as it did in 1.76
and earlier.
+ ;;
+ ;; TODO - make the build system depend on system llvm for
this, so we
+ ;; can get the performance benefits of setting this to true?
+ (substitute* "config.toml"
+ (("\\[build\\]")
+ "[build]\noptimized-compiler-builtins = false")))))))))))
+
(define (make-ignore-test-list strs)
"Function to make creating a list to ignore tests a bit easier."
(map (lambda (str)
- branch master updated (c32b31ecfc -> 41891ea973), guix-commits, 2024/06/26
- 01/06: gnu: musl: Install ldso symlink in correct location., guix-commits, 2024/06/26
- 04/06: gnu: Add rust-1.77.0.,
guix-commits <=
- 03/06: gnu: Add rust-1.76., guix-commits, 2024/06/26
- 05/06: gnu: Add rust-1.78., guix-commits, 2024/06/26
- 02/06: gnu: musl: Install compiler wrappers., guix-commits, 2024/06/26
- 06/06: gnu: Add rust-1.79., guix-commits, 2024/06/26