diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-05 14:09:20 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-12-05 14:09:20 +0200 |
commit | 46abb5212e4247ab19f2e17a49ed4baf5ba3f67d (patch) | |
tree | 7a317f926a1a9c95fd6579121d94bd964b1b0443 /gnu/packages/rust.scm | |
parent | d3c929a4bd58d073bf4f83bf2aff2f8db92b33dd (diff) | |
download | guix-46abb5212e4247ab19f2e17a49ed4baf5ba3f67d.tar guix-46abb5212e4247ab19f2e17a49ed4baf5ba3f67d.tar.gz |
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
Diffstat (limited to 'gnu/packages/rust.scm')
-rw-r--r-- | gnu/packages/rust.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 594dc7e715..1be020a6bf 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -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) |