-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Developing with windows
crate on linux
#3361
Comments
I upgraded your sample to 0.58.0 and it compiled fine. What are you seeing, exactly? |
Running my code (with version
Using cargo version |
Ah right, support for Linux (targets) changed as part of #3143 (additional discussion #3155 (comment)). Unless you're working with DirectWrite Core or maybe DirectX Shader Compiler, I don't believe anything else is in scope from a support perspective. (Sorry!) |
Well that's annoying, I really don't like the development experience on windows. I of course understand, that most of this crate only works on windows, but after |
Win32_Devices_DeviceAndDriverInstallation
feature on 0.58.0windows
crate on linux
You can cross-compile on Linux - e.g. compile with What you can't do is target Linux, which doesn't make sense anyway since these are Windows operating system APIs. |
I know but how can I make |
That sounds like a good question for the rust-analyzer folks. Maybe open an issue on their repo. 🙂 |
I think you want to set |
I fixed it by setting [build]
target = "x86_64-pc-windows-gnu" in Thx for the help |
Summary
Using the feature
Win32_Devices_DeviceAndDriverInstallation
, which feature seach tells me to use, doesn't work as rust can't find the Win32 module. This is a regression and doesn't happen with0.57.0
.Crate manifest
Crate code
The text was updated successfully, but these errors were encountered: