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
This commit is contained in:
Efraim Flashner 2024-01-10 08:41:18 +02:00
parent f9a12c1e02
commit 3c30b715f0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -46,7 +46,6 @@ (define-module (gnu packages rust)
#: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 @@ (define make-rust-sysroot/implementation
(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))