Consider emitting the c-types provided by std
/core
, instead of depending on libc
#294
Labels
enhancement
New feature or request
The standard library provides
std::os::raw
, which definesc_*
-types that can be used for ffi. Those types are identical to the types provided bylibc
.It would be nice if c2rust would emit the types provided by the standard library, instead of depending on an external crate. (it is annoying to replace all occurences of
libc::*
with the std equivalent).The text was updated successfully, but these errors were encountered: