-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix type for Android st_nlink #2170
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
r? @Amanieu (rust-highfive has picked a reviewer for you, use r? to override) |
@JohnTitor This changes |
On aarch64[1], arm and x86[2], st_nlink is of type nlink_t (defined as u32). On x86_64, st_nlink is explicitly defined as an unsigned long[3]. [1] https://android.googlesource.com/platform/bionic/+/453076b8d0aaf231a4eec48950530e2bcd774ccd/libc/include/sys/stat.h#48 [2] https://android.googlesource.com/platform/bionic/+/453076b8d0aaf231a4eec48950530e2bcd774ccd/libc/include/sys/stat.h#87 [3] https://android.googlesource.com/platform/bionic/+/453076b8d0aaf231a4eec48950530e2bcd774ccd/libc/include/sys/stat.h#67
Actually these are already unsigned, so this isn't a breaking change. @bors r+ |
📌 Commit 6055dcb has been approved by |
💔 Test failed - checks-actions |
@bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13 |
No description provided.