unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Efraim Flashner <efraim@flashner.co.il>,
	Ricardo Wurmus <rekado@elephly.net>
Cc: "Ludovic Courtès" <ludovic.courtes@inria.fr>,
	guix-devel <guix-devel@gnu.org>,
	"Nicolas Graves" <ngraves@ngraves.fr>
Subject: Re: ‘cargo-build-system’ makes everything slow
Date: Thu, 05 Dec 2024 12:07:06 +0100	[thread overview]
Message-ID: <0431bc86e329b5f277b25f9a109f32c3bcd103a8.camel@gmail.com> (raw)
In-Reply-To: <Z1FRCoHq6oBdWNbO@3900XT>

Hi Guix,

Am Donnerstag, dem 05.12.2024 um 09:06 +0200 schrieb Efraim Flashner:
> On Mon, Dec 02, 2024 at 08:24:29PM +0100, Ricardo Wurmus wrote:
> > Perhaps this would be a good time to revive the antioxidant-build-
> > system
> […]
> I still have a copy of the code on my machine but unfortunately it no
> longer builds due to the constant churn of rust packages.
> 
> […]
> 
> Another idea which I'm not in love with is what Debian does. […]
I would like to throw a third option into the Mix: Meson.  It not only
supports Rust[1], but also has a wrapper for the cargo build system[2],
which while experimental should help us translating all the cargo bits
to Meson ones.  At least the former is actively being used in Mesa[3],
so it works as a proof of concept – for the latter, it appears that
Mesa uses hand-written meson build files.

Cheers

[1] https://mesonbuild.com/Rust.html
[2] https://mesonbuild.com/Wrap-dependency-system-manual.html#cargo-wraps
[3] https://gitlab.freedesktop.org/mesa/mesa/-/blob/24.3/src/compiler/rust/meson.build


  parent reply	other threads:[~2024-12-05 11:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 16:44 ‘cargo-build-system’ makes everything slow Ludovic Courtès
2024-12-02 19:24 ` Ricardo Wurmus
2024-12-05  7:06   ` Efraim Flashner
2024-12-05 10:13     ` How to build Rust packages Ludovic Courtès
2024-12-08  9:20       ` Efraim Flashner
2024-12-08 11:51         ` indieterminacy
2024-12-10  8:15         ` Ludovic Courtès
2024-12-05 11:07     ` Liliana Marie Prikler [this message]
2024-12-05  6:32 ` ‘cargo-build-system’ makes everything slow Efraim Flashner

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=0431bc86e329b5f277b25f9a109f32c3bcd103a8.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=efraim@flashner.co.il \
    --cc=guix-devel@gnu.org \
    --cc=ludovic.courtes@inria.fr \
    --cc=ngraves@ngraves.fr \
    --cc=rekado@elephly.net \
    /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).