On 10/25/24 13:10, Michael Tokarev wrote:
25.10.2024 23:06, Pierrick Bouvier wrote:
On 10/25/24 13:03, Michael Tokarev wrote:
25.10.2024 19:02, Paolo Bonzini wrote:
--generate-cstr is a good idea and generally the right thing to do,
but it is not available in Debian 12 and Ubuntu 22.04. Work around
the absence.
Can't we just install a more recent bindgen and use all the current
features of it, like it's done in patch 22 for ubuntu?
Users yes, but distros expect to be able to use their packaged version.
Pretty please do not target rust in qemu for *currently* supported
distros. For debian bookworm it is already way too late, - for
bookworm as a distro, qemu with rust is hopeless, it is possible
only with trixie and up.
Users wishing to experiment can install more recent packages, for
qemu ci it is the way to go too using the way in patch 22, and that's
it. There's no need to sacrifice qemu rust code for current debian
stable. rust is already too volatile by its own, and targeting
that wide range of versions is insane.
It's the goal of this series, and with changes included, it can be built
on debian stable (with packaged rustc/bindgen).
/mjt