Skip to content

Solarish: add the arc4random* API family - #3944

Merged
tgross35 merged 1 commit into
rust-lang:mainfrom
devnexen:illumos_arc4random_buf
Nov 14, 2024
Merged

Solarish: add the arc4random* API family#3944
tgross35 merged 1 commit into
rust-lang:mainfrom
devnexen:illumos_arc4random_buf

Conversation

@devnexen

@devnexendevnexen commented Sep 26, 2024

Copy link
Copy Markdown
Contributor

@rustbot

Copy link
Copy Markdown
Collaborator

r? @tgross35

rustbot has assigned @tgross35.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@devnexen

Copy link
Copy Markdown
ContributorAuthor

@rustbot label stable-nominated

@rustbotrustbot added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Sep 26, 2024
@RalfJung

RalfJung commented Sep 28, 2024

Copy link
Copy Markdown
Member

@tgross35

Copy link
Copy Markdown
Member

Thanks for linking the docs. LGTM but I'll wait for one of the solarish people to double check this, or merge it in another day or two if we don't hear back.

@RalfJung

RalfJung commented Sep 28, 2024

Copy link
Copy Markdown
Member

@devnexen maybe you can add the docs link to the PR description, so they become part of the commit message.

(As I already told you in multiple past PRs, please write descriptions for your PRs! It makes them much easier to review, and therefore much more likely to be landed. It is not a great practice to throw a piece of code over the fence without saying a single sentence about the what and why and how.)

@devnexen
devnexenforce-pushed the illumos_arc4random_buf branch from 70a5bb8 to 84cb528CompareSeptember 28, 2024 15:11
@tgross35

Copy link
Copy Markdown
Member

@jclulow, @pfmooney would one of you be able to ack this?

@tgross35tgross35 changed the title adding arc4random* api family for solarish.Solarish: add the arc4random* api familyNov 6, 2024
@tgross35tgross35 changed the title Solarish: add the arc4random* api familySolarish: add the arc4random* API familyNov 6, 2024
@tgross35

Copy link
Copy Markdown
Member

This looks fine to me so I will merge it, but wait for a solarish set of eyes before backport (@jclulow)

@tgross35
tgross35 added this pull request to the merge queueNov 14, 2024
Merged via the queue into rust-lang:main with commit ba828b1Nov 14, 2024
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 16, 2024
@tgross35tgross35 mentioned this pull request Nov 16, 2024
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 16, 2024
tgross35 pushed a commit to tgross35/rust-libc that referenced this pull request Nov 16, 2024
@tgross35tgross35 removed the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 16, 2024
@tgross35tgross35 added the stable-applied This PR has been cherry-picked to libc's stable release branch label Nov 16, 2024
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Jul 20, 2026
std: use `arc4random_buf` from libc
Since I added these uses in rust-lang#129201 an `arc4random_buf` definition was added to libc for [Haiku](rust-lang/libc#3945) and [Solaris/Illumos](rust-lang/libc#3944) so we can stop redefining the symbol in `std`.
rust-timer added a commit to rust-lang/rust that referenced this pull request Jul 20, 2026
Rollup merge of #159597 - joboet:arc4random_libc, r=Darksonn
std: use `arc4random_buf` from libc
Since I added these uses in #129201 an `arc4random_buf` definition was added to libc for [Haiku](rust-lang/libc#3945) and [Solaris/Illumos](rust-lang/libc#3944) so we can stop redefining the symbol in `std`.
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Aug 17, 2026
std: use `arc4random_buf` from libc
Since I added these uses in rust-lang/rust#129201 an `arc4random_buf` definition was added to libc for [Haiku](rust-lang/libc#3945) and [Solaris/Illumos](rust-lang/libc#3944) so we can stop redefining the symbol in `std`.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-solarishO-unixS-waiting-on-reviewstable-appliedThis PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@devnexen@rustbot@RalfJung@tgross35