Closed madsmtm closed 4 months ago
This adds support for visionOS and target_env = "newlib" (embedded) platforms by always providing an implementation, such that only one of these cfg lists have to be maintained. This is similar to what the nix crate does.
target_env = "newlib"
cfg
nix
A little bit of context on why these names are not just unified in libc can be found in https://github.com/rust-lang/libc/issues/682.
libc
This adds support for visionOS and
target_env = "newlib"
(embedded) platforms by always providing an implementation, such that only one of thesecfg
lists have to be maintained. This is similar to what thenix
crate does.A little bit of context on why these names are not just unified in
libc
can be found in https://github.com/rust-lang/libc/issues/682.