Re: [RFC PATCH v2 1/5] build-sys: Add rust feature option

2024-06-19 Thread Manos Pitsidianakis
On Wed, 19 Jun 2024 19:52, Richard Henderson wrote: On 6/11/24 03:33, Manos Pitsidianakis wrote: +++ b/scripts/cargo_wrapper.py @@ -0,0 +1,211 @@ +#!/usr/bin/env python3 +# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2023 Linaro Ltd. +# +# Authors: +# Manos Pitsidianakis +# Marc-André

Re: [RFC PATCH v2 1/5] build-sys: Add rust feature option

2024-06-19 Thread Richard Henderson
On 6/11/24 03:33, Manos Pitsidianakis wrote: +++ b/scripts/cargo_wrapper.py @@ -0,0 +1,211 @@ +#!/usr/bin/env python3 +# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2023 Linaro Ltd. +# +# Authors: +# Manos Pitsidianakis +# Marc-André Lureau +# +# This work is licensed under the terms of t

Re: [RFC PATCH v2 1/5] build-sys: Add rust feature option

2024-06-18 Thread Richard Henderson
On 6/11/24 03:33, Manos Pitsidianakis wrote: Add options for Rust in meson_options.txt, meson.build, configure to prepare for adding Rust code in the followup commits. `rust` is a reserved meson name, so we have to use an alternative. `with_rust` was chosen. A cargo_wrapper.py script is added t

[RFC PATCH v2 1/5] build-sys: Add rust feature option

2024-06-11 Thread Manos Pitsidianakis
Add options for Rust in meson_options.txt, meson.build, configure to prepare for adding Rust code in the followup commits. `rust` is a reserved meson name, so we have to use an alternative. `with_rust` was chosen. A cargo_wrapper.py script is added that is heavily based on the work of Marc-André