unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: guix-devel@gnu.org
Subject: Re: Packaging rust crates without compiling dependencies again for every dependent (wasting build time)
Date: Mon, 09 May 2022 12:08:24 +0200	[thread overview]
Message-ID: <77d7eaa2bce1ec384bf2637ee411bbfd10314294.camel@telenet.be> (raw)
In-Reply-To: <YnjmnmfPgUm/YF0n@3900XT>

[-- Attachment #1: Type: text/plain, Size: 679 bytes --]

Efraim Flashner schreef op ma 09-05-2022 om 13:02 [+0300]:
> This is really really cool! Thanks for sharing it.
> 
> I noticed that there are a number of crates that you remove
> unconditionally, would it help if we patched them out of the crates
> that
> are in Guix?

This is for rust-winapi and the like?  Unfortunately IIUC, that's
currently not yet possible in general, because Cargo requires optional
dependencies to be available, see
<https://github.com/rust-lang/cargo/issues/4544>.  Unless the
Cargo.toml are patched appropriately as well.

(I don't know if this applies to dev-dependencies as well, or only to
'dependencies' ...)

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

      reply	other threads:[~2022-05-09 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-30  9:29 Packaging rust crates without compiling dependencies again for every dependent (wasting build time) Maxime Devos
2022-05-09 10:02 ` Efraim Flashner
2022-05-09 10:08   ` Maxime Devos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77d7eaa2bce1ec384bf2637ee411bbfd10314294.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).