mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06: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:
parent
c0d989c4ea
commit
10c880974b
1 changed files with 1 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue