-
Notifications
You must be signed in to change notification settings - Fork 160
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 rdrand
feature to getrandom dependencies
#146
Comments
The getrandom = { version = "0.2", features = ["rdrand"] } |
Well, I tried that but it seems that it's not affecting the |
Are you sure you don't have |
No sign of EDIT: Okay I used I'm now hitting a problem build rand_chacha :
|
@sven-eliasen that's very strange. Feature unification should function identically between a transitive and direct dependency Can you paste the relevant lines of your Cargo.toml where you include both |
[dependencies]
uefi = {path = "../uefi-rs", features = ["exts", "logger"]}
uefi-services = {path = "../uefi-rs/uefi-services"}
log = {version = "0.4.0", default-features = false }
rsa = { version = "0.5.0", default-features = false }
[patch.crates-io]
getrandom = { path = "../getrandom", default-features = false, features = ["rdrand"] }
rsa = { path = "../RSA", default-features = false } I use a local version of EDIT: Removed |
You should not patch |
rdrand
feature to getrandom dependencierdrand
feature to getrandom dependencies
Same result, but it also passed the Pretty strange because that didn't work first time, but anyway I'm now fighting |
I suggest reporting the |
@sven-eliasen I just cut a v0.6.0-pre release of Can you try that instead of the |
Were you previously having trouble building That's a very strange error you're getting in |
Yeah the issue has moved on sorry 😅
Now i'm having problem with rand_chacha |
@newpavlov is there a replacement for |
No, I have removed it for code simplification. I plan to implement a Either way, the error comes from |
That would be great ! :D |
#148 removes hard dependency on I still suggest that you report the |
I agree you can closed this issue, thanks a lot for taking care of this. I tested your branch and I still get a |
Hi,
At first, thanks for this awesome library !
I'm trying to build
rsa
for thex86_64-unknown-uefi
target, so inno_std
environement.After fixing the bug #138 by upgrading
num-bigint-dig
to 0.8.1 (btw you guys might want to fix that too).I'm getting an error from building
getrandom
(which is called fromrand
) as it doesn't support my target.The fix is to enable the
rdrand
feature fromgetrandom
.I tried messing with
rsa
's Cargo.toml but I couldn't achieve to make it work.I hoped you guys can help me.
EDIT: I just the saw the
num-bigint-dig
upgrade in a current PRThe text was updated successfully, but these errors were encountered: