-
Notifications
You must be signed in to change notification settings - Fork 69
Could not compile or run UWP branch targeting thumbv7a-uwp-windows-msvc #23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Thanks for trying this out! I wonder if this is also the case with ARM64, I can give that a try over the weekend. The problem with using the pre-com-rs version is that it's mainly duct tape and paper clips (I heavily mutilated some of the stuff you were doing in your firstuwp-rs project, it was a great help!). We might have to experiment with a modified version of com-rs, or wait for implementing types to be supported in Rust/WinRT. |
Well, unfortunately after switching to a new machine and a newer version of Visual Studio 2019, I'm no longer able to build the rust toolchain. It looks like there's an issue building llvm, hopefully it gets resolved soon and I can look at this again. I seem to be having the same problem this person is: https://users.rust-lang.org/t/rust-bootstrap-fails-on-windows/45162 |
Try Xargo instead? It only requires a nightly toolchain. |
This is mainly for my own tracking, but the issue of compiling llvm with MSVC seems to be recorded here: |
To finally close the loop on this, I gave this a try again and it worked. |
As I am trying building with target
thumbv7a-uwp-windows-msvc
, compilation failed:It looked like a problem with
com-rs
and had been reported (see microsoft/com-rs#92 (comment)). Then I checked out the commit before using com-rs at 946a74, a similar error came out:Fixed by changing

stdcall
tosystem
. After that, I managed to package and deployed it to a ARM device, a panic immediately occurred without previous stack trace.(A screenshot of the call stack recovered from a minidump)
Further investigation is required to make it run on an ARM device.
The text was updated successfully, but these errors were encountered: