-
|
This isn't a request for support, I've been struggling with this for a couple of days and finally found the culprit. I'm thus writing this merely to share my findings with others. Rust has in their infinite wisdom (and with good help from Microsoft I'm sure) decided to stop supporting all Windows versions before Windows 10 (for a programming language that is quite serious, and this is a good reason to stay way clear of Rust) after version 1.75. The result when trying to run an executable compiled with a more recent version of rust is the following error: I've dug into the issue a little bit, and this seems to be part of a request to Windows' random generator. Microsoft has done some shuffling of how things are organized in the DLLs, and the change done to Rust has no obvious "benefit" and I strongly suspect deliberate sabotage. Anyway, the "fix" is sticking to Rust 1.75. The way to do this so that the builds actually work isn't that straight forward though, since the whole toolchain must be held back. What I found is that the I have no Windows 8 installations, neither physical nor virtual, so I haven't been able to test Windows 8, but I'm pretty sure that the issue applies to Windows 8 as well - since the intention behind this most likely is to make things stop working for the versions of Windows that Microsoft wants to "kill". I'm considering to make a PR modifying the build scripts to accommodate this, but it's not trivial for me to test the workflows to see that it actually works so I won't make any promises. The change in Rust has been made after the release of |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
|
bcryptprimitives.dll is introduced by new Rust? Nobody report this issue on Rust repo? |
Beta Was this translation helpful? Give feedback.
-
|
rust-lang/rust#121337 Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
|
after testing |
Beta Was this translation helpful? Give feedback.
-
|
Did anyone have any problem with the Visual studio tools? Because I tried to install them, but It's not possible on Windows 7 with the usual installed at least. |
Beta Was this translation helpful? Give feedback.
-
|
https://discord.com/invite/nDceKgxnkV build channel |
Beta Was this translation helpful? Give feedback.
https://discord.com/invite/nDceKgxnkV build channel