-
Notifications
You must be signed in to change notification settings - Fork 2
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
Doesn't compile with Nim 0.19.0 on Windows #1
Comments
This appears to be an issue with nim-random, a dependency for this project. I'm going to loop in @oprypin. |
Nah, don't loop me in, please investigate a bit and open a direct issue if that's the case. |
Very well then. I don't have a Windows machine to test on, but I'll see what I can do. |
It seems that the issue is caused by CryptGenRandom being deprecated: https://docs.microsoft.com/en-us/windows/desktop/api/wincrypt/nf-wincrypt-cryptgenrandom. It must be missing in my Windows 10 Insider build. nim-random uses it for urandom on Windows: https://github.com/oprypin/nim-random#randomurandom Why can't we switch to the random module from stdlib? |
I had to use nim-random for precisely that, urandom. The stdlib doesn't have any API for it. |
I heard that urandom might be in stdlib now |
This project is so great and seemed to be the only ID generator for Nim, that fit my needs. |
Why do you ignore this issue? This does not make any sense. |
theAkito <notifications@github.com> wrote:
This project is so great and seemed to be the only ID generator for
Nim, that fit my needs. Now, I am stuck with this error and very sad
to see, that this is chilling here for over 2 years. My
disappointment is immeasurable.
Sad! I didn't realize I was working on a timeline. If you need this
fixed, send a patch, or stop complaining.
Neither the author of the upstream library, nor I, owe you anything.
Stop acting like we do.
…--
Anirudh Oppiliappan
https://icyphox.sh
|
It's not about me, it's about a project you made. You owe it to yourself. You owe it to your work. This issue already predicted the shown behaviour and I expected nothing more. That's why I already fixed this issue shortly after being appalled by this void of respect. |
lol |
Now you can try std/sysrand, though it is on devel and expermental. Or use |
Firstly, thanks a lot for the package! NanoID is really cool, it's so cool we can have it in Nim.
Here's the error I'm getting:
The text was updated successfully, but these errors were encountered: