Skip to content
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 doc aliases for getpw{nam,uid} #2560

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

Darksonn
Copy link
Contributor

I was reviewing some unsafe code using libc directly for these functions, and it took me some time to figure out what nix actually has wrappers from them so we can avoid using unsafe. These aliases would have made it much easier for me to discover these functions.

@asomers asomers added this pull request to the merge queue Dec 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 11, 2024
@SteveLauC
Copy link
Member

The Cirrus CI is kinda unstable now, so I will merge this PR directly

@SteveLauC SteveLauC merged commit c017285 into nix-rust:master Dec 12, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants