On Fri, Sep 17, 2021 at 11:17:01AM +0200, Cornelia Huck wrote: > On Fri, Sep 17 2021, David Gibson <[email protected]> wrote: > > > Hi all, > > > > At the qemu-in-rust BoF at KVM Forum, I volunteered to look into > > whether Rust supported all the host/build platforms that qemu does, > > which is obviously vital if we want to make Rust a non-optional > > component of the build. > > > > I've added the information to our wiki at: > > https://wiki.qemu.org/RustInQemu > > Thank you for doing that! > > > > > TBH, the coverage is not as good as I expected. Linux, macOS and > > Windows are pretty much ok, with the exception of Linux on Sparc. > > There are a lot of gaps in *BSD support, however. > > Yes :( > > Do we actually have an idea what we would require?
Not t this stage. This is just based on the ticks in the table on the
Rust page, I haven't tried to look closer at any of the cases.
> I'm surprised that
> there are so many targets without host tools or without std support (but
> maybe they are only missing small things.)
Right. So, it makes sense that Rust has a bunch of targets without
that support: a lot of them are embedded systems, where you'd expect
to be cross-compiling. The intersection of that with the qemu build
platforms is weirder.
> > I've included some notes on where the information comes from, and some
> > uncertainties in there.
> >
> > I've made an effort to get the information correct, but double
> > checking would be appreciated.
>
> I did not spot any errors on a quick cross check, but I'm not really
> sure about what the BSDs support.
>
> >
> > I haven't yet looked into the packaging situation for the Rust
> > toolchain on various platforms and distros, but I still intend to do
> > so.
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
