[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ‘cargo-build-system’ makes everything slow
From: |
Liliana Marie Prikler |
Subject: |
Re: ‘cargo-build-system’ makes everything slow |
Date: |
Thu, 05 Dec 2024 12:07:06 +0100 |
User-agent: |
Evolution 3.48.4 |
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
Re: ‘cargo-build-system’ makes everything slow, Efraim Flashner, 2024/12/05