]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
lcitool: enable Rust for Windows cross targets
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Nov 2025 22:15:46 +0000 (23:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 27 Dec 2025 09:11:11 +0000 (10:11 +0100)
The issue that is mentioned in the comment has been fixed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/docker/dockerfiles/fedora-win64-cross.docker
tests/lcitool/refresh

index 4f743c00434180bf086f13a414b6abf89b6622f8..c5e1fcebf5174f37916a7255cdbc10c7c9096454 100644 (file)
@@ -120,3 +120,5 @@ ARG USER
 ARG UID
 RUN if [ "${USER}" ]; then \
   id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi
+
+ENV ENABLE_RUST 1
index 9df607a55f804e1c9d01de077b78d187868c5202..01a7192954289c7bc9d1aeecea496d62c256a4e2 100755 (executable)
@@ -291,10 +291,7 @@ try:
                         project='qemu,qemu-win-installer',
                         cross="mingw64",
                         trailer=cross_build("x86_64-w64-mingw32-",
-                                            "x86_64-softmmu"),
-                        # linking with rust is buggy:
-                        # https://github.com/mesonbuild/meson/pull/14991
-                        enable_rust=False)
+                                            "x86_64-softmmu"))
 
     # We also generate some docker files with minimal dependencies and
     # as many cross-compilers as Debian will package for building TCG