Closed Sporif closed 2 years ago
I think it's possible but it will take some time to implement. IMO cargo run
isn't a big issue since most of the time you know the binary name and path, you can just invoke wine
with that.
cargo xwintest
added in v0.4.0.
Great! I think this can be closed as it works well and like you said cargo run
isn't really needed.
FYI, I've renamed this project to cargo-xwin
in v0.5.0. Now xwinbuild
and xwintest
become subcomands of xwin
:
cargo xwin build --target x86_64-pc-windows-msvc
cargo xwin test --target x86_64-pc-windows-msvc
Would it be possible to add support for
cargo test
andcargo run
? I'm trying to test blake3 usingCARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUNNER=wine
but building the tests with xwinbuild and then tryingcargo test --target x86_64-pc-windows-msvc
does a rebuild that fails witherror: linker link.exe not found
.