On 27/12/2025 10.47, Paolo Bonzini wrote:
From: Marc-AndrĂ© Lureau <[email protected]>

Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
---
  .gitlab-ci.d/windows.yml | 7 ++++++-
  1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.d/windows.yml b/.gitlab-ci.d/windows.yml
index 5dbdabfbec0..5ef4d34d1ea 100644
--- a/.gitlab-ci.d/windows.yml
+++ b/.gitlab-ci.d/windows.yml
@@ -17,7 +17,7 @@ msys2-64bit:
      # This feature doesn't (currently) work with PowerShell, it stops
      # the echo'ing of commands being run and doesn't show any timing
      FF_SCRIPT_SECTIONS: 0
-    CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false 
-Doptimization=0
+    CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false 
-Doptimization=0 --enable-rust

 Hi!

Note that we're using --disable-system here currently, and rust/meson.build starts with:

if not have_system
  subdir_done()

... so enabling rust on this job was currently pretty much a NOP (apart from taking more time to install the rust compiler).

When enabling a system target, this fails with:

error[E0432]: unresolved imports `libc::syslog`, `libc::LOG_INFO`
 --> rust/trace/lib.rs:8:16
  |
8 | pub use libc::{syslog, LOG_INFO};
  |                ^^^^^^  ^^^^^^^^ no `LOG_INFO` in the root
  |                |
  |                no `syslog` in the root
error: aborting due to 1 previous error

See https://gitlab.com/thuth/qemu/-/jobs/12699263050#L2818

 Thomas


Reply via email to