Skip to content

Conversation

kraj
Copy link

@kraj kraj commented Jul 7, 2023

The original functions are able to consume 64bit off_t now a days therefore *64 equivalents can be replaced, as a side it fixes build with musl.

Upstream-Status: Pending

The original functions are able to consume 64bit off_t now a days
therefore *64 equivalents can be replaced, as a side it fixes build with
musl.
@mingnus
Copy link
Collaborator

mingnus commented Jul 9, 2023

Does Rust now handle 64-bit offsets in 32-bit builds? I use stat64 explicitly as a workaround (commit 775c332)

@kraj
Copy link
Author

kraj commented Feb 27, 2025

Does Rust now handle 64-bit offsets in 32-bit builds? I use stat64 explicitly as a workaround (commit 775c332)

I was building this using Musl C library where off_t is always 64bit on 32bit systems as well and the *64 functions are removed from libc

https://git.musl-libc.org/cgit/musl/commit/?id=25e6fee27f4a293728dd15b659170e7b9c7db9bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants