Skip to content

Use rustix to replace all libc usage #568

@Krysztal112233

Description

@Krysztal112233

Recently I introduced rustix for refactoring and optimizing the code of pgrep because I found that the nix crate doesn't support the statx syscall, but rustix does.

After the related PR has been merged, I think maybe keeping just one of nix or rustix is sufficient, because they overlap significantly.

But I'm worried that replacing nix with rustix might cause some unexpected issues, after all, rustix is still very young.

I wonder if anyone has any related thoughts :)

cc @cakebaker @sylvestre @dezgeg @Bluemangoo @tertsdiepraam

Sub-issues

Metadata

Metadata

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions