mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 19:09:27 +01:00
gnu: rust: Update to 1.75.0.
* gnu/packages/rust.scm (rust-1.75): New variable. (rust): Update to 1.75.0. [arguments]: Adjust substitutions in custom phases for changes in source code. Change-Id: I0065d09a297e227e58998455bb90d18304fd6729
This commit is contained in:
parent
31a026b252
commit
3bc167f42e
1 changed files with 13 additions and 3 deletions
|
@ -828,6 +828,16 @@ safety and thread safety guarantees.")
|
||||||
(("features = \\[\"fs\"" all)
|
(("features = \\[\"fs\"" all)
|
||||||
(string-append all ", \"use-libc\""))))))))))
|
(string-append all ", \"use-libc\""))))))))))
|
||||||
|
|
||||||
|
(define rust-1.75
|
||||||
|
(let ((base-rust (rust-bootstrapped-package rust-1.74 "1.75.0"
|
||||||
|
"1260mf3066ki6y55pvr35lnf54am6z96a3ap3hniwd4xpi2rywsv")))
|
||||||
|
(package
|
||||||
|
(inherit base-rust)
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(inherit (package-source base-rust))
|
||||||
|
(patches '()))))))
|
||||||
|
|
||||||
(define (make-ignore-test-list strs)
|
(define (make-ignore-test-list strs)
|
||||||
"Function to make creating a list to ignore tests a bit easier."
|
"Function to make creating a list to ignore tests a bit easier."
|
||||||
(map (lambda (str)
|
(map (lambda (str)
|
||||||
|
@ -842,7 +852,7 @@ safety and thread safety guarantees.")
|
||||||
;;; Here we take the latest included Rust, make it public, and re-enable tests
|
;;; Here we take the latest included Rust, make it public, and re-enable tests
|
||||||
;;; and extra components such as rustfmt.
|
;;; and extra components such as rustfmt.
|
||||||
(define-public rust
|
(define-public rust
|
||||||
(let ((base-rust rust-1.74))
|
(let ((base-rust rust-1.75))
|
||||||
(package
|
(package
|
||||||
(inherit base-rust)
|
(inherit base-rust)
|
||||||
(properties (alist-delete 'hidden? (package-properties base-rust)))
|
(properties (alist-delete 'hidden? (package-properties base-rust)))
|
||||||
|
@ -982,7 +992,7 @@ safety and thread safety guarantees.")
|
||||||
;; different outputs while reusing the shared libraries.
|
;; different outputs while reusing the shared libraries.
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(substitute* "src/bootstrap/builder.rs"
|
(substitute* "src/bootstrap/src/core/builder.rs"
|
||||||
((" = rpath.*" all)
|
((" = rpath.*" all)
|
||||||
(string-append all
|
(string-append all
|
||||||
" "
|
" "
|
||||||
|
@ -1119,7 +1129,7 @@ exec -a \"$0\" \"~a\" \"$@\""
|
||||||
(("\\.ceil\\(\\)") ""))
|
(("\\.ceil\\(\\)") ""))
|
||||||
;; gcc doesn't recognize this flag.
|
;; gcc doesn't recognize this flag.
|
||||||
(substitute*
|
(substitute*
|
||||||
"compiler/rustc_target/src/spec/windows_gnullvm_base.rs"
|
"compiler/rustc_target/src/spec/base/windows_gnullvm.rs"
|
||||||
((", \"--unwindlib=none\"") "")))))
|
((", \"--unwindlib=none\"") "")))))
|
||||||
`())
|
`())
|
||||||
(replace 'set-env
|
(replace 'set-env
|
||||||
|
|
Loading…
Add table
Reference in a new issue