[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency
From: |
Alex Bennée |
Subject: |
Re: [RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency |
Date: |
Thu, 20 Jun 2024 12:10:27 +0100 |
Manos Pitsidianakis <manos.pitsidianakis@linaro.org> writes:
> Add mechanism to generate rust hw targets that depend on a custom
> bindgen target for rust bindings to C.
>
> This way bindings will be created before the rust crate is compiled.
>
> The bindings will end up in BUILDDIR/{target}-generated.rs and have the same
> name
> as a target:
>
> ninja aarch64-softmmu-generated.rs
>
<snip>
> +
> +# FIXME: These are the latest stable versions, refine to actual minimum ones.
> +msrv = {
> + 'rustc': '1.79.0',
> + 'cargo': '1.79.0',
> + 'bindgen': '0.69.4',
> +}
So for Debian Bookworm this comes out as:
msrv = {
'rustc': '1.79.0',
'cargo': '1.79.0',
'bindgen': '0.69.4',
}
I shall have to see how close Trixie is ;-)
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
- Re: [RFC PATCH v3 1/5] build-sys: Add rust feature option, (continued)
Re: [RFC PATCH v3 1/5] build-sys: Add rust feature option, Alex Bennée, 2024/06/20
Re: [RFC PATCH v3 1/5] build-sys: Add rust feature option, Daniel P . Berrangé, 2024/06/24
[RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency, Manos Pitsidianakis, 2024/06/19
- Re: [RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency,
Alex Bennée <=
Re: [RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency, Alex Bennée, 2024/06/20
Re: [RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency, Richard Henderson, 2024/06/20
Re: [RFC PATCH v3 2/5] rust: add bindgen step as a meson dependency, Zhao Liu, 2024/06/24