mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-16 16:08:04 -05:00
gnu: rust-1.72: Fix building on powerpc64le-linux.
* gnu/packages/rust.scm (rust-1.72)[source]: Adjust snippet to fix building rustix on all architectures. Change-Id: If8e6b5c4d0c29d2ee2fdfe58fa7d4d2c1585740e
This commit is contained in:
parent
4e058aa7e8
commit
6302731750
1 changed files with 4 additions and 1 deletions
|
@ -868,7 +868,10 @@ (define-public rust-1.72
|
|||
;; Also remove the bundled (mostly Windows) libraries.
|
||||
(for-each delete-file
|
||||
(find-files "vendor" "\\.(a|dll|exe|lib)$"))
|
||||
;; Adjust rustc_driver to explicitly use rustix with libc backend.
|
||||
;; Adjust some crates to explicitly use rustix with the libc backend.
|
||||
(substitute* '("vendor/is-terminal/Cargo.toml"
|
||||
"vendor/is-terminal-0.4.7/Cargo.toml")
|
||||
(("\"termios\"") "\"termios\", \"use-libc\""))
|
||||
(substitute* "compiler/rustc_driver/Cargo.toml"
|
||||
(("rustix = \"=0.37.11\"")
|
||||
(string-append "rustix = { version = \"=0.37.11\","
|
||||
|
|
Loading…
Reference in a new issue