-
Notifications
You must be signed in to change notification settings - Fork 281
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
global-context depends on rand-std #246
Conversation
Oh yes, it seems we missed this... |
Can you also add Unfortunate that it's such a PITA to test a feature matrix with no-std.. |
@apoelstra done |
I don't get it. the global context will not work in the |
Oh, derp, I was confused. How can we test this then? |
To be clear, I am asking for a cargo invocation that will fail without this PR. |
gotcha, Line 44 in 6511fad
I see 2 ways to write such a test if we want:
|
The diff for |
Thanks! I think any of those options is too much work and it's fine to accept this PR as is (but @vorot93 can you drop the extra commit testing with no_std? I was confused and wrong to ask for that). |
@apoelstra done |
I just removed the commits directly (sorry if that was too invasive). Will merge after CI passes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack.
Merging; travis has passed but github is waiting for yet-unmerged workflows to be executed.
Uses
thread_rng
which is only available withrand/std
/rand-std
enabled.