rand: freebsd update, using getrandom.#101994
Conversation
|
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
|
While I agree Rust supporting FreeBSD versions unsupported by upstream is stupid, I think it should be an explicit decision, not like this. Note that while FreeBSD 11 was EOL since 2021, Rust CI continued to use FreeBSD 11 until June 2022. |
|
☔ The latest upstream changes (presumably #102726) made this pull request unmergeable. Please resolve the merge conflicts. |
|
what would be your suggestion ? |
|
FCP on supported FreeBSD versions is now in progress at #89058. |
|
📌 Commit b8ce3ce516b80ccbb5648f8a2ac104b46f295a8b has been approved by It is now in the queue for this repository. |
|
🔒 Merge conflict This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again. How do I rebase?Assuming
You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial. Please avoid the "Resolve conflicts" button on GitHub. It uses Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Error message |
b8ce3ce to
5fe8849
Compare
|
cc @Amanieu |
library/std/src/sys/unix/rand.rs
Outdated
There was a problem hiding this comment.
GRND_INSECURE seems to be meaningless on FreeBSD. (It's non-existent on FreeBSD 12, and equivalent to GRND_NONBLOCK on FreeBSD 13+.) So re-using this same logic with GRND_INSECURE_AVAILABLE for Linux doesn't seem very useful.
5fe8849 to
2cb1130
Compare
|
These commits modify the If this was intentional then you can ignore this comment. |
supported since the 12th release, while 11.4 is EOL since 2021.
2cb1130 to
a7e0bab
Compare
|
Seems like m-ou-se's comments were addressed! |
…ngjubilee rand: freebsd update, using getrandom. supported since the 12th release, while 11.4 is EOL since 2021.
…ngjubilee rand: freebsd update, using getrandom. supported since the 12th release, while 11.4 is EOL since 2021.
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#101994 (rand: freebsd update, using getrandom.) - rust-lang#113930 (Add Param and Bound ty to SMIR) - rust-lang#113942 (Squelch a noisy rustc_expand unittest) - rust-lang#113996 (Define CMAKE_SYSTEM_NAME on a cross build targeting DragonFly.) - rust-lang#114070 (Add `sym::iter_mut` + `sym::as_mut_ptr` for Clippy) - rust-lang#114073 (Remove -Z diagnostic-width) - rust-lang#114090 (compiletest: remove ci-specific remap-path-prefix) r? `@ghost` `@rustbot` modify labels: rollup
supported since the 12th release, while 11.4 is EOL since 2021.