qemu-discuss
[Top][All Lists]
Advanced

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

Re: [RFC PATCH v2 1/9] Add Rust SEV library as subproject


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH v2 1/9] Add Rust SEV library as subproject
Date: Mon, 16 Oct 2023 15:38:09 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 16/10/23 11:16, Daniel P. Berrangé wrote:
On Fri, Oct 13, 2023 at 02:20:16PM -0400, Tyler Fanelli wrote:
Hi Manos,

Thanks for the heads up, I was using rust 1.71.1. Will update the series
with 1.72.1

Stefan, Philippe, or Daniel: is there a specific policy for the Rust version
we should be developing on for crates in qemu?

There are a couple of dimensions to this.

First is the matter of what operating system and architecture pairs are
supported as targets for the Rust toolchain, and the standard library.
We'll need both to work of course.

Second there is the matter of what versions of Rust are shipped in the
various operating systems currently.

In a previous discussion there was a wiki page fleshed out with this
info:

    https://wiki.qemu.org/RustInQemu

but the min versions are certainly out of date now.

Third there is the question of whether distros have facility for pulling
in newer toolchain versions, and if so should we be willing to use them.
This is relevant for the long life distros like RHEL, which might ship
with a variety of Rust versions. Historically we've been very conservative
but with Python last year we adopted a more aggressive policy of being
willing to take any newer version available from the distro vendor, not
merely the oldest baseline. I suspect we'll want a similar approach with
rust.

Cc'ing distrib package maintainers to have their feedback on this.

Anyhow, I think you could probably start by updatnig that RustInQemu
wiki page so that it reflects the current state of the world in terms
of support tiers and versions.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]