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

Use std::ffi everywhere instead of std::os::raw #122

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from
Open

Conversation

spx01
Copy link

@spx01 spx01 commented Nov 4, 2024

Replace usage of std::os::raw with std::ffi for C types.
Fixes #75.

@AldaronLau
Copy link
Member

@spx01 Thanks, this is great! Can you either run cargo +nightly fmt or apply the format suggestions in CI?

@spx01
Copy link
Author

spx01 commented Nov 10, 2024

Done!

Copy link
Member

@AldaronLau AldaronLau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spx01 Great! I just merged some code to get CI working again. Once those changes rebased or merged in, I can merge this

@AldaronLau AldaronLau linked an issue Nov 13, 2024 that may be closed by this pull request
@AldaronLau AldaronLau added this to the v2.0.0 milestone Nov 13, 2024
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.

whoami 2.0: switch to std::ffi
2 participants