Open notgull opened 1 month ago
Hi! I think either option would have wide-ranging implication for both the rust-vmm ecosystem, as well as everyone who depends on one of our crates, so this is not really a decision any one maintainer can make. Maybe you could send your proposal to the rust-vmm mailing list to reach a wider audience, or bring it up at one of the community sync meetings? [1]
rustix
is a library that aims to provide a safe system interface over the POSIX API, similar to what this crate accomplishes. However,rustix
excels by using Linux's raw system call interface rather thanlibc
, which provides a decent code size and performance benefit. It useslibc
on non-Linux platforms and can be optionally configured to swap to alibc
-based backend if desired.I see two options here:
vmm-sys-util
to userustix
instead oflibc
. This would be a breaking change in this crate, as some parts exportlibc
in their public API.rustix
instead ofvmm-sys-util
.Which option would be preferred by
rust-vmm
?