Subject: Re: [bug#46987] [PATCH] gnu: rust-1.19: Don't include i686-linux in supported-systems.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Mon, 08 Mar 2021 22:35:36 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Christopher Baines <[email-masked]> writes:

> Currently rust fails to build for i686-linux, so this will avoid computing
> lots of derivations that depend on rust, but won't be possible to build.
>
> * gnu/packages/rust.scm (rust-1.19)[supported-systems]: Switch hardcoding only
> supporting x86_64-linux for supporting all supported systems, other than
> i686-linux.
> ---
>  gnu/packages/rust.scm | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
> index 98a6bfffa5..1fc540f0f8 100644
> --- a/gnu/packages/rust.scm
> +++ b/gnu/packages/rust.scm
> @@ -453,7 +453,9 @@ test = { path = \"../libtest\" }
>              (variable "LIBRARY_PATH")
>              (files '("lib" "lib64")))))
>
> -    (supported-systems '("x86_64-linux"))
> +    (supported-systems
> +     (delete "i686-linux"               ; fails to build, see #35519
> +             %supported-systems))
>      (synopsis "Compiler for the Rust programming language")
>      (description "Rust is a systems programming language that provides memory
>  safety and thread safety guarantees.")

I've gone ahead and pushed this to master as
f5c6e6966c020722700ef0343ab0a6030e2d61b5.