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 rustix instead of libc #878

Closed
wants to merge 3 commits into from
Closed

Commits on May 14, 2024

  1. feat: Use rustix instead of libc

    Closes crossterm-rs#847
    
    rustix is a wrapper around either raw Linux system calls or libc, based
    on the current platform. The main advantage is that it can make programs
    much more efficient, since system calls can be inlined directly into
    the functions that call them. I've seen rustix reduce instruction counts
    in my programs when I've made the switch in another programs.
    
    In addition, it reduces the amount of unsafe code.
    
    Signed-off-by: John Nunley <[email protected]>
    notgull committed May 14, 2024
    Configuration menu
    Copy the full SHA
    1726226 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. feat: Use a feature flag to opt into rustix

    Signed-off-by: John Nunley <[email protected]>
    notgull committed May 16, 2024
    Configuration menu
    Copy the full SHA
    bd33b6b View commit details
    Browse the repository at this point in the history
  2. fmt

    Signed-off-by: John Nunley <[email protected]>
    notgull committed May 16, 2024
    Configuration menu
    Copy the full SHA
    cc4c3e1 View commit details
    Browse the repository at this point in the history