rust-vsock / vsock-rs

Virtio socket support for Rust
https://crates.io/crates/vsock
Apache License 2.0
27 stars 19 forks source link

Use nix wrappers for getpeername and getsockname. #27

Closed qwandor closed 2 years ago

qwandor commented 2 years ago

These are buggy in nix 0.24.1, so this currently breaks the tests. It should work once https://github.com/nix-rust/nix/pull/1736 is merged and released.

Tim-Zhang commented 2 years ago

@qwandor is this ready for review?

qwandor commented 2 years ago

You're welcome to look at it, but it won't work until a new release of nix is published with https://github.com/nix-rust/nix/pull/1736 included. Hopefully that will happen fairly soon.

qwandor commented 2 years ago

nix 0.24.2 is released so this should now work. PTAL.