Closed
Description
C libraries (including system ones like glibc or musl) change, but C fundamentals stay put.
I expect many FFI bindings may rely only on fundamental language-provided types like size_t
and c_void
, not on specific library-provided ones like sockaddr
or FILE
.
To bring more stability to such use case, libc may be split into something like libc-pure
with only type-level things that are expected to change when C as a language changes and libc-sys
with everything else. libc
itself is just a bunch of re-exports.
Exact splitting line and naming details is left to further discussion. A simple no-brainer constraint maybe that unix:notbsd:fexecve
and c_int
should appear on opposite sides of the barricades.
Metadata
Metadata
Assignees
Labels
No labels