Releases: rust-lang/libc
Releases Β· rust-lang/libc
0.2.162
Added
- Android: fix the alignment of
uc_mcontext
on arm64 #3894 - Apple: add
host_cpu_load_info
#3916 - ESP-IDF: add a time flag #3993
- FreeBSD: add the
CLOSE_RANGE_CLOEXEC
flag#3996 - FreeBSD: fix test errors regarding
__gregset_t
#3995 - FreeBSD: fix tests on x86 FreeBSD 15 #3948
- FreeBSD: make
ucontext_t
andmcontext_t
available on all architectures #3848 - Haiku: add
getentropy
#3991 - Illumos: add
syncfs
#3990 - Illumos: add some recently-added constants #3999
- Linux: add
ioctl
flags #3960 - Linux: add epoll busy polling parameters #3922
- NuttX: add
pthread_[get/set]name_np
#4003 - RTEMS: add
arc4random_buf
#3989 - Trusty OS: add initial support #3942
- WASIp2: expand socket support #3981
Fixed
- Emscripten: don't pass
-lc
#4002 - Hurd: change
st_fsid
field tost_dev
#3785 - Hurd: fix the definition of
utsname
#3992 - Illumos/Solaris: fix
FNM_CASEFOLD
definition #4004 - Solaris: fix all tests #3864
Other
0.2.161
0.2.160
Added
- Android: add
PR_GET_NAME
andPR_SET_NAME
#3941 - Apple: add
F_TRANSFEREXTENTS
#3925 - Apple: add
mach_error_string
#3913 - Apple: add additional
pthread
APIs #3846 - Apple: add the
LOCAL_PEERTOKEN
socket option #3929 - BSD: add
RTF_*
,RTA_*
,RTAX_*
, andRTM_*
definitions #3714 - Emscripten: add
AT_EACCESS
#3911 - Emscripten: add
getgrgid
,getgrnam
,getgrnam_r
andgetgrgid_r
#3912 - Emscripten: add
getpwnam_r
andgetpwuid_r
#3906 - FreeBSD: add
POLLRDHUP
#3936 - Haiku: add
arc4random
#3945 - Illumos: add
ptsname_r
#3867 - Linux: add
fanotify
interfaces #3695 - Linux: add
tcp_info
#3480 - Linux: add additional AF_PACKET options #3540
- Linux: make Elf constants always available #3938
- Musl x86: add
iopl
andioperm
#3720 - Musl: add
posix_spawn
chdir functions #3949 - Musl: add
utmpx.h
constants #3908 - NetBSD: add
sysctlnametomib
,CLOCK_THREAD_CPUTIME_ID
andCLOCK_PROCESS_CPUTIME_ID
#3927 - Nuttx: initial support #3909
- RTEMS: add
getentropy
#3973 - RTEMS: initial support #3866
- Solarish: add
POLLRDHUP
,POSIX_FADV_*
,O_RSYNC
, andposix_fallocate
#3936 - Unix: add
fnmatch.h
#3937 - VxWorks: add riscv64 support #3935
- VxWorks: update constants related to the scheduler #3963
Changed
- Redox: change
ino_t
to bec_ulonglong
#3919
Fixed
Other
0.2.159
Added
- Android: add more
AT_*
constants in #3779 - Apple: add missing
NOTE_*
constants in #3883 - Hermit: add missing error numbers in #3858
- Hurd: add
__timeval
for 64-bit support in #3786 - Linux: add
epoll_pwait2
in #3868 - Linux: add
mq_notify
in #3849 - Linux: add missing
NFT_CT_*
constants in #3844 - Linux: add the
fchmodat2
syscall in #3588 - Linux: add the
mseal
syscall in #3798 - OpenBSD: add
sendmmsg
andrecvmmsg
in #3831 - Unix: add
IN6ADDR_ANY_INIT
andIN6ADDR_LOOPBACK_INIT
in #3693 - VxWorks: add
S_ISVTX
in #3768 - VxWorks: add
vxCpuLib
andtaskLib
functions #3861 - WASIp2: add definitions for
std::net
support in #3892
Fixed
- Correctly handle version checks when
clippy-driver
is used #3893
Changed
0.2.158
Fixed
- WASI: fix missing
Iterator
withrustc-dep-of-std
in #3856 (comment)
0.2.157
Added
- Apple: add
_NSGetArgv
,_NSGetArgc
and_NSGetProgname
in #3702 - Build: add
RUSTC_WRAPPER
support in #3845 - FreeBSD: add
execvpe
support from 14.1 release in #3745 - Fuchsia: add
SO_BINDTOIFINDEX
- Linux: add
klogctl
in #3777 - MacOS: add
fcntl
OFD commands in #3563 - NetBSD: add
_lwp_park
in #3721 - Solaris: add missing networking support in #3717
- Unix: add
pthread_equal
in #3773 - WASI: add
select
,FD_SET
,FD_ZERO
,FD_ISSET
in #3681
Fixed
- TEEOS: fix octal notation for
O_*
constants in #3841
Changed
- FreeBSD: always use freebsd12 when
rustc_dep_of_std
is set in #3723
0.2.156
Added
- Apple: add
F_ALLOCATEPERSIST
in #3712 - Apple: add
os_sync_wait_on_address
and related definitions in #3769 - BSD: generalise
IPV6_DONTFRAG
to all BSD targets in #3716 - FreeBSD/DragonFly: add
IP_RECVTTL
/IPV6_RECVHOPLIMIT
in #3751 - Hurd: add
XATTR_CREATE
,XATTR_REPLACE
in #3739 - Linux GNU:
confstr
API and_CS_*
in #3771 - Linux musl: add
preadv2
andpwritev2
(1.2.5 min.) in #3762 - VxWorks: add the constant
SOMAXCONN
in #3761 - VxWorks: add a few errnoLib related constants in #3780
Fixed
Changed
Removed
- Apple: remove
rmx_state
in #3776
Other
- Update or remove CI tests that have been failing
0.2.155
What's Changed
- Add
SYS_lseek
andSYS_mmap
for aarch64 Android by @lberrymage in #3632 - Correct the value of FAN_MARK_IGNORE by @severen in #3622
- Update FreeBSD 13 CI image by @JohnTitor in #3671
- android: add FUTEX_LOCK_PI2 by @rtzoeller in #3635
- Fix out-of-bounds pointer arithmetic in CMSG_NXTHDR by @purplesyringa in #3676
- Revert "Support posix_spawn on Android" by @JohnTitor in #3678
- Unlock ci: fix wrong cfg emscripten by @tesuji in #3684
- redox: correct EPOLL constants by @jackpot51 in #3686
- [0.2] Revert "Upgrade Docker images to Ubuntu 23.10" on sparc64 by @cuviper in #3708
- Re-add
posix_spawn{_file_actions_t,attr_t}
on Android by @tesuji in #3690 - Update version to
0.2.155
by @madsmtm in #3682
New Contributors
- @lberrymage made their first contribution in #3632
- @purplesyringa made their first contribution in #3676
Full Changelog: 0.2.154...0.2.155
0.2.154
What's Changed
- Fix CI on v0.2 by @JohnTitor in #3589
- [Backport #3547] Add ioctl FS_IOC_{G,S}{ETVERSION,ETFLAGS} for CSKY by @Dirreke in #3572
- Add Linux riscv64 HWCAP defines (libc-0.2) by @Xeonacid in #3580
- Add missing MIPS R6 FS_IOC_* definitions by @chenx97 in #3591
- Support posix_spawn on Android by @pcc in #3602
- [0.2] Fix libc-tests for loongarch64 by @heiher in #3607
- visionOS Support by @agg23 in #3568
- [0.2] linux/musl: Add support for LoongArch64 by @heiher in #3606
- v0.2: Fix c_char on AIX by @taiki-e in #3662
- solarish adding SO_EXCLBIND constant. by @devnexen in #3651
- [0.2] Add SIG constants to espidf by @Tevz-Beskovnik in #3658
- add all android sysconf constants by @fkm3 in #3656
- feat: more _PC_XXX constants for apple targets by @SteveLauC in #3649
- feat: O_EXEC/O_SEARCH for apple platforms by @SteveLauC in #3668
- [0.2] Add constant AT_MINSIGSTKSZ by @ur4t in #3637
- Haiku: synchronize with post R1-beta 4 changes in libc by @nielx in #3638
- adding getentropy/getrandom to dragonflybsd. by @devnexen in #3618
- Move strftime, strftime_l, strptime to linux_like by @pcc in #3600
- update crate version to 0.2.154 by @Dirreke in #3573
New Contributors
- @pcc made their first contribution in #3602
- @agg23 made their first contribution in #3568
- @Tevz-Beskovnik made their first contribution in #3658
- @ur4t made their first contribution in #3637
Full Changelog: 0.2.153...0.2.154
0.2.153
What's Changed
- Add SOMAXCONN to vita on 0.2 (to fix std) by @pheki in #3552
- Fix CI for v0.2 by @JohnTitor in #3557
- [Backport #3548] Add ioctl FS_IOC_{G,S}{ETVERSION,ETFLAGS} for LoongArch64 by @heiher in #3570
- Add MFD_NOEXEC_SEAL and MFD_EXEC by @rusty-snake in #3553
- Backport of #3546 and update crate version to 0.2.153 by @GuillaumeGomez in #3554
New Contributors
- @rusty-snake made their first contribution in #3553
Full Changelog: 0.2.152...0.2.153