Subject: [bug#53208] [PATCH 04/39] gnu: Add rust-windows-x86-64-msvc-0.28.

From: Z572 <[email-masked]>
Date: Sat, 22 Jan 2022 11:37:29 +0800

Maxime Devos <[email-masked]> writes:

> [[PGP Signed Part:Undecided]]
> Z572 via Guix-patches via schreef op wo 12-01-2022 om 23:27 [+0800]:
>> * gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.28): New variable.
>
> I don't see the point of packaging crates for Windows support in
> Guix, since Guix (currently) does not support Windows at all,
> except for some rather limited cross-compilation support.
>
see https://github.com/rust-lang/cargo/issues/4544

https://github.com/rust-lang/cargo/issues/4544#issuecomment-332846630
  Cargo will asset that all dependencies exist (optional,
  platform-specific, or not) to generate a lock file.

> Do things build without this crate?
Cargo need all dependency, even though it’s optional or platform-specific.
so if missing any one optional dependency, build will fail, maybe edit
crate's Cargo.toml files to remove them can be work, but it is a
terrible hack.
>
> Greetings,
> Maxime.
>
> [[End of PGP Signed Part]]

-- 
over