mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
gnu: make-rust-sysroot: Update for rust-1.90.
* gnu/packages/rust.scm (make-rust-sysroot/implementation)[arguments]: Adjust the mingw specific phases to update for the newer rust version. Change-Id: I406d0d417b016567639533a392de7832646d2763
This commit is contained in:
committed by
Andreas Enge
parent
c8dc922fe4
commit
47c4da5208
+1
-11
@@ -1987,17 +1987,7 @@ exec -a \"$0\" \"~a\" \"$@\""
|
|||||||
(delete
|
(delete
|
||||||
(string-append mingw "/include")
|
(string-append mingw "/include")
|
||||||
(string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
|
(string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
|
||||||
":")))
|
":"))))))
|
||||||
;; When building a rust-sysroot this crate is only used for
|
|
||||||
;; the rust-installer.
|
|
||||||
(substitute* '("vendor/num_cpus-1.13.0/src/linux.rs"
|
|
||||||
"vendor/num_cpus-1.13.1/src/linux.rs"
|
|
||||||
"vendor/num_cpus-1.16.0/src/linux.rs")
|
|
||||||
(("\\.ceil\\(\\)") ""))
|
|
||||||
;; gcc doesn't recognize this flag.
|
|
||||||
(substitute*
|
|
||||||
"compiler/rustc_target/src/spec/base/windows_gnullvm.rs"
|
|
||||||
((", \"--unwindlib=none\"") "")))))
|
|
||||||
`())
|
`())
|
||||||
(replace 'set-env
|
(replace 'set-env
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
|||||||
Reference in New Issue
Block a user