Discussion: Provide a libc module similar to the original one
tbu- opened this issue · 1 comments
tbu- commented
Most implementations (e.g. in src/sys/linux/fs.rs
) just require changing the original std
code by replacing libc
with something like linux
or errno
. I suggest that we build most of the abstractions (those that are possible to do) in a separate module called libc
in the root namespace, so that we can use the original std
code with less modifications (should make updating easier).
What do you think?
tbu- commented
This seems to be accepted.