summaryrefslogtreecommitdiff
path: root/gnu/packages/rust.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-10 08:41:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:41 +0200
commit3c30b715f05463822cafd20c90d503ebbfd832fc (patch)
treef0c4bae04ec494aa1a0dbcafd8fd86b2a0503fe3 /gnu/packages/rust.scm
parentf9a12c1e0275f94b64e459c2796410645a069d53 (diff)
gnu: make-rust-sysroot: Remove unneeded input.
* gnu/packages/rust.scm (make-rust-sysroot/implementation)[inputs]: When building targeting mingw32 don't add libunwind. Change-Id: I4623bf3c034c488d7f836f64ea0d7924899ce6ad
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r--gnu/packages/rust.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 69afc12458..15d63be14d 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -46,7 +46,6 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages gcc)
#:use-module (gnu packages gdb)
- #:use-module (gnu packages libunwind)
#:use-module (gnu packages linux)
#:use-module (gnu packages llvm)
#:use-module (gnu packages mingw)
@@ -1233,8 +1232,7 @@ ar = \"" (search-input-file inputs (string-append "/bin/" ,(ar-for-target target
(cross-binutils target)
(if (string=? "i686-w64-mingw32" target)
mingw-w64-i686-winpthreads
- mingw-w64-x86_64-winpthreads)
- libunwind))
+ mingw-w64-x86_64-winpthreads)))
(modify-inputs (package-native-inputs base-rust)
(prepend (cross-gcc target
#:libc (cross-libc target))