You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It provides a very easy way of using *nix APIs. It's a safe alternative to the unsafe APIs exposed by the libc crate. It's the 101th crate at the moment in crates.io, I guess that's why it missed the top 100 by one.
Example simple snippet for testing:
use nix;fnmain(){println!("tid: {}", nix::unistd::gettid());}
The text was updated successfully, but these errors were encountered:
We'd welcome a PR for this! Today we rely almost entirely on contributions for compiler/library requests, and (we hope) the contribution process isn't very painful. Docs, example PR: #6253. We'll also be happy to try and help in our discord.
This PR fixes#6212 and infra PR is here:
compiler-explorer/infra#1299
It adds the nix crate that will be useful when users need to access more
user friendly *nix APIs.
Thanks!
OfekShilon
pushed a commit
to OfekShilon/compiler-explorer
that referenced
this issue
May 14, 2024
Library name
nix
Library description
Rust friendly bindings to *nix APIs.
Library repository
https://crates.io/crates/nix
Motivation
It provides a very easy way of using *nix APIs. It's a safe alternative to the unsafe APIs exposed by the libc crate. It's the 101th crate at the moment in crates.io, I guess that's why it missed the top 100 by one.
Example simple snippet for testing:
The text was updated successfully, but these errors were encountered: