Cross testing in wine (linux host, windows target) fails with nightly rust #1386
-
As of rustc 1.76.0-nightly (a96d57bdb 2023-12-15) cross compiling from a Linux host to Windows fails to run some of my tests due to Wine not implementing functionality. This works fine on stable toolchain (1.74). Is there a way to tell cross to try using a newer wine or something to see if this is fixed? The errors look like this:
Unfortunately setting RUST_BACKTRACE=1 doesn't seem to propagate through cross into whatever container it runs the test in. Here is a CI run showing what happens: https://github.com/VorpalBlade/chezmoi_modify_manager/actions/runs/7231476998/job/19704690937 The same happens locally (where I use podman instead of docker) with: (extra flags are to turn off sccache and mold which cross doesn't seem to like) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You can figure out what change broke this with cargo-bisect-rustc using a script like #!/usr/bin/env bash
export CROSS_CUSTOM_TOOLCHAIN=1
cross test --target x86_64-pc-windows-gnu and then run
I recently upgraded wine on the main branch images, #1374, altough when I test it with the main images it still fails with the same error I'll bisect and return with the result |
Beta Was this translation helpful? Give feedback.
searched nightlies: from nightly-2023-12-13 to nightly-2023-12-15
regressed nightly: nightly-2023-12-14
searched commit range: rust-lang/rust@3340d49...eeff92a
regressed commit: rust-lang/rust@77d1699
bisected with cargo-bisect-rustc v0.6.7
Host triple: x86_64-unknown-linux-gnu
Reproduce with: