Skip to content

Use rustix instead of libc #1735

@notgull

Description

@notgull

rustix is a system call wrapper that wraps raw system calls on Linux and libc on other platforms. It would allow mio to refactor out error handling and unsafe syscall handling code from its codebase. More materialistically, rustix bypasses libc for Linux system calls. In some cases, this can allow system calls to be directly inlined into their calling functions, saving instructions and increasing execution speed.

Its MSRV is 1.63, but as the MSRV was just bumped to 1.74 this shouldn't be an issue.

Rel: #1588

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions