Subject: Re: bug#50452: ‘rust-winapi-i686-pc-windows-gnu-0’ contains pre-built binaries
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Sat, 18 Sep 2021 18:11:40 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> Unless I’m mistaken, this crate contains pre-built binaries that are
> installed as is:
>
> $ find $(guix build rust-winapi-i686-pc-windows-gnu) -name \*.a |head
> /gnu/store/fdklwnyb90qa6dzwyrr3jpd9q48nkq4s-rust-winapi-i686-pc-windows-gnu-0.4.0/share/cargo/src/winapi-i686-pc-windows-gnu-0.4.0/lib/libwinapi_onecore-api-ms-win-security-base-l1-2-2.a

These two commits fixed it:

--8<---------------cut here---------------start------------->8---
commit 979b41a894bc6128ff0749ff133e389fc574f048
Author: Efraim Flashner <[email-masked]>
Date:   Sun Sep 12 22:24:59 2021 +0300

    gnu: [email-masked]: Remove bundled libraries.
    
    * gnu/packages/crates-io.scm (rust-winapi-x86-64-pc-windows-gnu)[source]:
    Add snippet to delete bundled libraries.

commit b359ebec23be30c1036982f95039f0af513bda97
Author: Efraim Flashner <[email-masked]>
Date:   Sun Sep 12 22:24:08 2021 +0300

    gnu: [email-masked]: Remove bundled libraries.
    
    * gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu)[source]:
    Add snippet to delete bundled libraries.
--8<---------------cut here---------------end--------------->8---

Thanks, Efraim!

Ludo’.