mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +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
@@ -1987,17 +1987,7 @@ exec -a \"$0\" \"~a\" \"$@\""
|
||||
(delete
|
||||
(string-append mingw "/include")
|
||||
(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
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
||||
Reference in New Issue
Block a user