Closed jsturtevant closed 1 year ago
The nix dependency is failing due to:
error: use of deprecated enum `nix::sys::socket::SockAddr`: use SockaddrLike or SockaddrStorage instead
--> src/common.rs:107:62
Is this something that should be addressed or should we move back to an older version and address later?
The nix dependency is failing due to:
error: use of deprecated enum `nix::sys::socket::SockAddr`: use SockaddrLike or SockaddrStorage instead --> src/common.rs:107:62
Is this something that should be addressed or should we move back to an older version and address later?
I think we could adapt the new nix API by using SockaddrLike
instead of SockAddr
Patch coverage has no change and project coverage change: -0.03
:warning:
Comparison is base (
dde3298
) 24.39% compared to head (48cdc42
) 24.36%.:exclamation: Current head 48cdc42 differs from pull request most recent head fee3e00. Consider uploading reports for the commit fee3e00 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@Tim-Zhang I've update to use those API's.
Another option instead of boxing the trait would be to refactor some of these functions where make_socket
are used. I don't know enough about the impact of Boxing to know if a bigger refactor of those functions makes sense or this is good enough.
@jsturtevant I have some suggestions and I've just left a comment
Updates the dependencies for the main ttrpc project. This is in preparation for a release to include the Windows files in support for projects like the rust shim in https://github.com/containerd/rust-extensions/pull/139