qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC v3 13/32] rust: use vendored-sources


From: Ian Jackson
Subject: Re: [RFC v3 13/32] rust: use vendored-sources
Date: Thu, 9 Sep 2021 18:04:08 +0100

Daniel P. Berrangé writes ("Re: [RFC v3 13/32] rust: use vendored-sources"):
> On Thu, Sep 09, 2021 at 08:29:58PM +0400, Marc-André Lureau wrote:
> > True, at least on Fedora, there is machinery to package "regular" Rust
> > programs/crates in an automated way.  Vendoring dependencies should work
> > equally, but may not conform with distro policies, so they have extra work
> > eventually (it seems vendoring is more and more common though, with go
> > projects for example)
> 
> I wouldn't assume that we're going to be able to use that RPM support
> for rust, if we bundle our rust code inside the QEMU tarball and hidden
> behind meson. It generally only works well in single language projects
> using the preferred build tool exclusively (Cargo in this case).

I can't speak to RPM, but Debian's arrangements for avoiding crates.io
downloads at packag-ebuild-time will work just fine even if it
the cargo calls are buried inside meson.  All that would be needed is
a way to disable any source replacement done by qemu (see previous
mail) so that Debian's source replacement takes effect.

Ian.



reply via email to

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