Create sys/types.h based on platform::types
At the moment sys/types.h
is created by include/sys/types.h. Instead sys/types.h
should be autogenerated based on the contents of platform::types
. Then any types that need to be defined in C can be defined in a include/bits/sys/type.h
.
I don't think it is possible to generate a header based on a single module with cbindgen
. We may need to break out platform::types
into a separate crate in the src
directory.