You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: change bitwidths of file off tys in l4re
This patch makes a few changes to the file offset types and routines
that are made available under the `unix/linux_like/l4re` module.
The current upstream definitions often use 64-bit suffixed types instead
of their unsuffixed types. Under a default build with unchanged makefile
settings, their memory representation is effectively equivalent. The
`libc` crate is striving to remove support for suffixed file
offset/`time_t`-related types that only serve aliasing purposes in favor
of keeping a single, fixed-width, unsuffixed type.
This patch does not introduce breaking changes even though entire
records have been altogether changed. This is because the currently
supported target triples using L4Re in upstream rustc only include
`x86_64-unknown-l4re-uclibc`. The "breaking" changes have been made to
aarch64-specific types.
It is also for this reason that the patch does not introduce further
changes regarding the modules where symbols are defined. There are a few
records, such as `stat` and `statfs`, which are defined both upstream
and in the L4Re forks of musl and uClibc as being equivalent. The
current maintainer for this target triple may have other plans, so that
has been left unmodified.
Finally, and to round up changes submitted in other patches, this patch
also deprecates various types in the top-level `unix/linux_like` and
`unix/linux_like/linux_l4re_shared` modules. These have been deprecated
after a few observations between shared deprecated items among prior
patches to platforms whose target environment coincided with one of
uClibc, musl or OhOS.
0 commit comments