lcitool: enable Rust for Windows cross targets

The issue that is mentioned in the comment has been fixed.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini
2025-11-19 23:15:46 +01:00
parent 4d06424c3d
commit d8779cb5d6
2 changed files with 3 additions and 4 deletions

View 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

View File

@@ -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