You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 0.4.0 introduce a few backward-incompatible API so I've made a few tiny changes in the project source code. They are:
when calling xwin::prune_pkg_list, I passed in None for sdk_version and crt_version.
Insidexwin::Ops::Splat, when trying to construct SplatConfig, I pass in None for the map parameter
when calling ctx.execute, I passed in an empty string "".to_string() into the sdk_version argument
All these changes seem fine to me, since I pass the CI test that runs on ubuntu machine (FYI the CI test runs the command target/release/cargo-xwin xwin build --target x86_64-pc-windows-msvc --manifest-path tests/hello-tls/Cargo.toml) . But when it's running on a window machine, I got the captioned error.
So I tried to run it on my local window machine and I'm able to reproduce the error. But when I inspect my local xwin directory (i.e. C:\Users\user\AppData\Local\cargo-xwin\xwin, I did see this file is present at C:\Users\user\AppData\Local\cargo-xwin\xwin\dl\Microsoft.VC.14.29.16.10.CRT.x64.Desktop.base.vsix.
I did some debugging on my end and can confirm that ctx.work_dir was already set as C:\Users\user\AppData\Local\cargo-xwin\xwin
Further to the release of
0.4.0
, I tried to bump the dependency version in thecargo-xwin
project as per the PR below:https://github.com/rust-cross/cargo-xwin/pull/80/files
Version
0.4.0
introduce a few backward-incompatible API so I've made a few tiny changes in the project source code. They are:xwin::prune_pkg_list
, I passed inNone
forsdk_version
andcrt_version
.xwin::Ops::Splat
, when trying to constructSplatConfig
, I pass inNone
for themap
parameterctx.execute
, I passed in an empty string"".to_string()
into thesdk_version
argumentAll these changes seem fine to me, since I pass the CI test that runs on ubuntu machine (FYI the CI test runs the command
target/release/cargo-xwin xwin build --target x86_64-pc-windows-msvc --manifest-path tests/hello-tls/Cargo.toml
) . But when it's running on a window machine, I got the captioned error.So I tried to run it on my local window machine and I'm able to reproduce the error. But when I inspect my local xwin directory (i.e.
C:\Users\user\AppData\Local\cargo-xwin\xwin
, I did see this file is present atC:\Users\user\AppData\Local\cargo-xwin\xwin\dl\Microsoft.VC.14.29.16.10.CRT.x64.Desktop.base.vsix
.I did some debugging on my end and can confirm that
ctx.work_dir
was already set asC:\Users\user\AppData\Local\cargo-xwin\xwin
FYI here's the full error msg : https://github.com/rust-cross/cargo-xwin/actions/runs/6798447381/job/18482619447?pr=80
Can I ask for your help to see if it's a bug from xwin itself ? Appreciate any insights from you. Thanks
The text was updated successfully, but these errors were encountered: