gnu: make-rust-sysroot: Adjust for newer cross-gcc.

* gnu/packages/rust.scm (make-rust-sysroot/implementation)
[native-inputs]: Add gcc-14.

Change-Id: If9bc74bfe2e236accc39dc09e03b28dee62e332d
This commit is contained in:
Efraim Flashner 2024-12-05 14:09:20 +02:00
parent d3c929a4bd
commit 46abb5212e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1615,6 +1615,9 @@ ar = \"" (search-input-file inputs (string-append "/bin/" #$(ar-for-target targe
(package-propagated-inputs base-rust)))
(native-inputs
(modify-inputs (package-native-inputs base-rust)
;; Build with the same version as the cross-gcc version.
;; TODO: Remove this when gcc and %xgcc are the same version again.
(prepend gcc-14)
(prepend (cross-gcc target
#:libc (cross-libc target)))
(prepend (if (target-mingw? target)