-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Update zx_cprng_draw_new on Fuchsia #51637
Conversation
Fuchsia is changing the semantics for zx_cprng_draw and zx_cprng_draw_new is a temporary name for the new semantics.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @cramertj (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
@bors r+ rollup |
📌 Commit 03a40b3 has been approved by |
⌛ Testing commit 03a40b3 with merge 033d6ba74ec7cb2101899fa90b6887ae8a16e997... |
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
1 similar comment
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors retry Flakes |
⌛ Testing commit 03a40b3 with merge 68188cb1f96e9356796120d40e3a2b74cf66785c... |
💥 Test timed out |
@bors retry cc @kennytm, @Mark-Simulacrum WRT flakes |
@abarth Can you explain to me why the standard library uses Is it to prevent adding a dependency to the standard library? Would it make sense to use the same method in rand? |
@pitdicker I know very little about Rust. I'm a Fuchsia developer whose currently working on cleanup up the syscall API. @cramertj would probably know more about why these dependencies are set up this way. |
Thank you @abarth. In my opinion the standard library should not have all these OS details, when it already depends on But I suppose that is for another PR. Edit: sorry, rand is only a dev-dependency. |
@cramertj Is there some magic command we need to utter to convince the bots that this PR is acceptable. Rust is now the only remaining client of this syscall. |
This is in the queue (https://buildbot2.rust-lang.org/homu/queue/rust). I'll probably do a roll-up tomorrow, so I'd anticipate this landing in around 12-18 hours. |
Thanks! /me is slowly learning his way around. |
Update zx_cprng_draw_new on Fuchsia Fuchsia is changing the semantics for zx_cprng_draw and zx_cprng_draw_new is a temporary name for the new semantics.
Rollup of 6 pull requests Successful merges: - #51158 (Mention spec and indented blocks in doctest docs) - #51629 (Do not consume semicolon twice while parsing local statement) - #51637 (Update zx_cprng_draw_new on Fuchsia) - #51664 (make more libsyntax methods public) - #51666 (Disable probestack when GCOV profiling is being used) - #51703 (Recognize the extra "LLVM tools versions" argument to build-manifest.) Failed merges: r? @ghost
Fuchsia is changing the semantics for zx_cprng_draw and
zx_cprng_draw_new is a temporary name for the new semantics.