-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add 64-bit rust9x target for XP and Vista x86_64 #3
Comments
Added with the update to 1.76-beta. |
Hi! I would like to ask a question about cross-compiling with Do I miss anything else for compiling on x86_64-rust9x-windows-msvc? Thanks in advance! EDIT: I'm adding additional log from errors:
|
@LordRibblesdale Thank you, I just fixed it in v3, I forgot to add Let me know if it works! |
Hello!
|
@LordRibblesdale Yeah, windows-rs needs a patch to get working, as it checks for the specific target triple. I'll also fix this and 9x/ME compat as far as possible in #16. |
@LordRibblesdale Check out this branch: https://github.com/rust9x/windows-rs/tree/rust9x-windows-0.52.0-nt Should be easy to backport if you need it for 0.48.5 as well 👍 |
Thanks for the comments! I've also tried to apply a patch like the following:
but without success, nothing changed. I've tried with the deprecated "replace" TOML entry, as the following:
and I've got a different error (for version matching):
|
Obviously I'm trying to compile a personal project, but right now I'll try your sample application right now (which compiles) |
@LordRibblesdale try this: [patch.crates-io]
windows = { git = 'https://github.com/rust9x/windows-rs', branch = "rust9x-windows-0.52.0-nt" }
windows-sys = { git = 'https://github.com/rust9x/windows-rs', branch = "rust9x-windows-0.52.0-nt" } they should automatically pull in the patched subcrates as well. Otherwise, microsoft/windows-rs#2774 was merged, so the next official build should work as well :) |
Right now it didn't work either. I'll just wait for an update of the dependencies and test again. Meanwhile I'll try in the near future to test other combinations in order to force the latest version |
@LordRibblesdale a new official build would effectively run into the same problems I think. I've just tested it as well on my project at it seems to work fine. Maybe your dependencies have more/other versions of windows-rs in there? check |
Another way to brute-force it into making it work is to use |
The regular target would mostly work as the stdlib impl is shared, however it might be useful to be able to do conditional compilation based on
cfg(target_vendor = "rust9x")
.The text was updated successfully, but these errors were encountered: