mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-05 18:29:28 +01:00
gnu: rust-1.74: Fix build on riscv64-linux.
* gnu/packages/rust.scm (rust-1.74)[arguments]: When building for riscv64-linux delete 'revert-riscv-pause-instruction phase. Change-Id: I59120e8dae995fca52b192b07e265db20d9281e7
This commit is contained in:
parent
07bf7ea36c
commit
994fad6c52
1 changed files with 9 additions and 1 deletions
|
@ -926,7 +926,15 @@ safety and thread safety guarantees.")
|
|||
;; Adjust vendored dependency to explicitly use rustix with libc backend.
|
||||
(substitute* "vendor/tempfile/Cargo.toml"
|
||||
(("features = \\[\"fs\"" all)
|
||||
(string-append all ", \"use-libc\""))))))))))
|
||||
(string-append all ", \"use-libc\"")))))))
|
||||
(arguments
|
||||
(if (target-riscv64?)
|
||||
(substitute-keyword-arguments (package-arguments base-rust)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
;; This phase is no longer needed.
|
||||
(delete 'revert-riscv-pause-instruction))))
|
||||
(package-arguments base-rust))))))
|
||||
|
||||
(define rust-1.75
|
||||
(let ((base-rust (rust-bootstrapped-package rust-1.74 "1.75.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue