Open gnzlbg opened 5 years ago
Good idea! Unfortunately linux
crate is owned by @mahkoh and before doing deprecation I would prefer for it to be transferred to someone more active and interested in maintaining it.
Nope.
@newpavlov I have a linux-rs
crate that uses rust-bindgen to auto generate the bindings form the headers. I wanted to turn that into something more like the llvm
crate before releasing it.
Libc currently only exposes a lot of Linux kernel APIs, but leaves doing so to other crates for other operating systems.
We probably should do the same that we do for MacOS and Windows, that is, have a different crate, e.g.,
linux
, that's just likemach
,winapi
, etc. and that it is tested against different Linux kernel versions.Once we have that in place, we can start deprecating kernel APIs from here, and recommend users to use other crates instead.