-
Notifications
You must be signed in to change notification settings - Fork 250
Do not use windows-sys types in public API #576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7c4d05f
to
d0fae1e
Compare
d0fae1e
to
17bba44
Compare
ef9479c
to
390b68d
Compare
390b68d
to
abcb2a5
Compare
5d12687
to
d10f87e
Compare
d10f87e
to
1b381e8
Compare
|
||
impl SockAddrStorage { | ||
/// Construct a new storage containing all zeros. | ||
#[inline] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need these #[inline]
s?
rust: | ||
# `check-external-types` requires a specific Rust nightly version. See | ||
# the README for details: https://github.com/awslabs/cargo-check-external-types | ||
- nightly-2024-06-30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The readme mentions nightly-2025-05-04
here: https://github.com/awslabs/cargo-check-external-types?tab=readme-ov-file#how-to-use. But I assume this version will also work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the releases page has the recent version: https://github.com/awslabs/cargo-check-external-types/releases.
matrix: | ||
os: | ||
- windows-latest | ||
- ubuntu-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to run it on different OS? Can we do cross-OS checking?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cross-OS checking doesn't seem to work (well), -Zbuild-std
can't be passed.
Merging this now. @Darksonn we can resolve the question I have later. |
Fixes: #526