Hi
On Fri, Aug 21, 2026 at 12:40 PM Paolo Bonzini <[email protected]> wrote:
>
> Another small piece of the usability puzzle for Rust, this time
> tackling dependency updates.
>
> Extend the existing scripts/get-wraps-from-cargo-registry.py so
> that it is also able to use the versions in Cargo.lock. This
> makes it much easier to update .wrap files after running
> "cargo update", though manual work is (intentionally) still
> needed when the semver of a crate changes.
>
> It's possible that this functionality will be moved to Meson either
> wholly or in part. As usual, introduce the prototype in QEMU so that
> it's clear what is needed.
>
Series lgtm, but I wasn't able to apply on master (patchew neither)
thanks
> Paolo
>
>
> Paolo Bonzini (9):
> scripts: print build.rs diff
> scripts: rename variable in scripts/get-wraps-from-cargo-registry.py
> scripts: do not assume the new version of the crate is present
> scripts: prepare for introduction of CrateSource class
> scripts: introduce CrateSource abstract class
> scripts: add functionality to update wrap files from Cargo.lock
> scripts: add the possibility of a quick update of the pacakge
> scripts: rename get-wraps-from-cargo-registry.py
> rust: update crates
>
> Cargo.lock | 48 ++---
> Cargo.toml | 2 +-
> ...argo-registry.py => update-cargo-wraps.py} | 198 +++++++++++++-----
> subprojects/attrs-0.2-rs.wrap | 9 +-
> subprojects/foreign-0.3-rs.wrap | 9 +-
> ...sys-0.21-rs.wrap => glib-sys-0.22-rs.wrap} | 9 +-
> subprojects/libc-0.2-rs.wrap | 10 +-
> .../libc-0.2-rs/meson/meson.build | 20 +-
> subprojects/quote-1-rs.wrap | 10 +-
> subprojects/unicode-ident-1-rs.wrap | 10 +-
> 10 files changed, 207 insertions(+), 118 deletions(-)
> rename scripts/{get-wraps-from-cargo-registry.py => update-cargo-wraps.py}
> (38%)
> rename subprojects/{glib-sys-0.21-rs.wrap => glib-sys-0.22-rs.wrap} (13%)
>
> --
> 2.55.0
>
>
--
Marc-André Lureau