We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::error::Error
genrandom::error::Error
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
the trait `std::error::Error` is not implemented for `getrandom::error::Error`
Why error being a normal error is platform-dependent?
The text was updated successfully, but these errors were encountered:
Because getrandom is a no_std crate by default. std::error::Error implementation is feature-gated behind std feature, so you just need to enable it.
getrandom
no_std
std
Sorry, something went wrong.
Why it gets auto-enabled on Linux?
Because it was an oversight which we have to keep for backward compatibility, but we plan to remove it in v0.2 (see #98).
Closing this as this was fixed in 0.2 for #106. General 0.2 progress is tracked in #98
No branches or pull requests
Why error being a normal error is platform-dependent?
The text was updated successfully, but these errors were encountered: