From: ngraves--- via Guix-patches via <guix-patches@gnu.org>
To: jgart <jgart@dismail.de>, 64904@debbugs.gnu.org
Subject: [bug#64904] [WIP] rust-build-system proposition
Date: Mon, 30 Dec 2024 11:37:01 +0100 [thread overview]
Message-ID: <877c7h4fua.fsf@ngraves.fr> (raw)
In-Reply-To: <87pll9sn76.fsf@dismail.de>
On 2024-12-30 00:24, jgart via Guix-patches via wrote:
> Hi,
>
> What's the status on this ticket?
I most likely lost the data with my recent computer issues, such a shame
that was a lot of work (1-2 months part-time).
As a record if someone wants to follow through, what I did from memory,
it worked well:
- moved antioxidant-build-system to rust-build-system
- rust-build-system was actually a rust-workspace-build-system, with the
logic that a single package was a workspace of one package
- I moved most of the state from antioxidant-build-system to arguments,
was finishing that, there was only 3-5 arguments left.
- for workspaces, an output was a package
- for some crates-gtk.scm or crates-crypto.scm, the whole file could be
summarized into one or two packages with multiple outputs. (This should
be a more general conversation, Go and Node have the same workspace
logic that we should be able to build on, and avoid managing in Guix was
can be done through workspaces. That was one of my blockers, not having
inputs on whether was I was doing would eventually be adopted due to
this).
The huge upside from all this was that our cargo-build-system rebuilds
everything for every package, while the declarative nature of guix
allows to avoid that. Compiling all rust packages with
rust-build-system was actually doable on a good computer in less than a
day. Not possible with cargo-build-system.
--
Best regards,
Nicolas Graves
prev parent reply other threads:[~2024-12-30 10:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-27 16:42 [bug#64904] [WIP] rust-build-system proposition Nicolas Graves via Guix-patches via
2023-07-30 14:34 ` Maxime Devos
2024-12-30 6:24 ` jgart via Guix-patches via
2024-12-30 10:37 ` ngraves--- via Guix-patches via [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877c7h4fua.fsf@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=64904@debbugs.gnu.org \
--cc=jgart@dismail.de \
--cc=ngraves@ngraves.fr \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.