Re: [libgpiod][WIP PATCH 0/2] Convert the build from autotools to meson

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 6 Dec 2022, at 10:36, Viresh Kumar wrote:
> + Miguel/Bjorn.
>
> On 05-12-22, 19:55, Bartosz Golaszewski wrote:
>> On Mon, Dec 5, 2022 at 2:22 PM Andrew Jeffery <andrew@xxxxxxxx> wrote:
>> > However, the rust case isn't quite so
>> > simple. In order to handle the dependencies of the rust bindings I've
>> > called out to cargo through a custom target. It's not great, but from
>> > what I could see it seems to be the path of least resistance given
>> > meson's support for rust.
>> >
>> > There's no support for installing the rust bindings through meson, but
>> > this is not worse than the support we appeared to have under autotools.
>> >
>> 
>> I think Viresh too wants to keep cargo as the building agent for the rust code.
>
> I am not the best guy to ask around Rust tooling in general and
> probably Kent / Miguel can help here.
>
> Sorry for the stupid question, but what does "installing the rust
> bindings" mean here ?

There's probably no useful meaning given what you've said below :)

> FWIW, for me the only thing that matters is that
> we are able to build the rust bindings, along with Make, and run tests
> somehow to make sure nothing broke. Since this is a library crate, the
> user crate will mark its dependency and do the build itself too.

My experience with rust is (unfortunately) superficial; the meson
conversion achieves the same outcome as the autotools integration (runs
`cargo build ...`). If that's enough then I don't think there are any
further issues.

Andrew



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux