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.