qemu/docs/about
Paolo Bonzini fbc8fb36e3 scripts: add script to help distros use global Rust packages
Some distros prefer to avoid vendored crate sources, and instead use
local sources from e.g. ``/usr/share/cargo/registry``.  Add a
script, inspired by the Mesa spec file(*), that automatically
performs this task.  The script is meant to be invoked after unpacking
the QEMU tarball.

(*) This is the hack that Mesa uses:

    export MESON_PACKAGE_CACHE_DIR="%{cargo_registry}/"
    %define inst_crate_nameversion() %(basename %{cargo_registry}/%{1}-*)
    %define rewrite_wrap_file() sed -e "/source.*/d" -e "s/%{1}-.*/%{inst_crate_nameversion %{1}}/" -i subprojects/%{1}.wrap
    %rewrite_wrap_file proc-macro2
    ... more %rewrite_wrap_file invocations follow ...

Reviewed-by: Neal Gompa <ngompa@fedoraproject.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-07-25 14:51:05 +02:00
..
build-platforms.rst scripts: add script to help distros use global Rust packages 2025-07-25 14:51:05 +02:00
deprecated.rst target-arm queue: 2025-07-07 09:22:41 -04:00
emulation.rst contrib/plugins: allow setting of instructions per quantum 2025-06-07 16:40:44 +01:00
index.rst accel: Remove HAX accelerator 2023-08-31 19:46:43 +02:00
license.rst docs/about/license: Update LICENSE URL 2023-08-23 09:04:33 -04:00
removed-features.rst hw/microblaze: Remove the big-endian variants of ml605 and xlnx-zynqmp-pmu 2025-05-30 09:52:08 +02:00