On Wed, Sep 4, 2024 at 1:03 PM Paolo Bonzini <pbonz...@redhat.com> wrote:
> On Wed, Aug 28, 2024 at 2:28 PM Daniel P. Berrangé <berra...@redhat.com> 
> wrote:
> > Defaulting to the $rust_host_triple is incorrect when QEMU has been
> > told to build for a non-host target.

BTW, this is why as of this patch rust is set to "disabled" by default.

> > Either we need todo the right thing and auto-set rust target based
> > on QEMU target (preferred), or we need to make it a fatal error
> > when rust target is omitted & QEMU is building a non-host target.
>
> I already have a patch to autodetect the right triple, but I didn't
> have time to finish it (and send it to Manos) before disappearing on
> vacation. I think it's okay to initially require --rust-target-triple=
> for cross compilation.

Done: https://paste.debian.net/1328408/

Paolo


Reply via email to