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

Replace libc with rustix #17

Merged
merged 3 commits into from
Jul 6, 2024
Merged

Replace libc with rustix #17

merged 3 commits into from
Jul 6, 2024

Conversation

swsnr
Copy link
Owner

@swsnr swsnr commented Jul 6, 2024

We no longer need to concern ourselves with buffer sizes and unsafe code.

See #10, closes #16

swsnr added 3 commits July 6, 2024 08:57
We no longer need to concern ourselves with buffer sizes and unsafe code.

See #10, closes #16
On unix our implementation is so trivial as to inline it, so just
dispatch directly in gethostname().
On Windows we get doc link errors because rustix doesn't have uname.
@swsnr swsnr merged commit 925a932 into main Jul 6, 2024
7 checks passed
@swsnr swsnr deleted the rustix branch July 6, 2024 08:13
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.

1 participant