Releases: rust-lang/libc
Releases Β· rust-lang/libc
0.2.162
Added
- Android: fix the alignment of
uc_mcontexton arm64 #3894 - Apple: add
host_cpu_load_info#3916 - ESP-IDF: add a time flag #3993
- FreeBSD: add the
CLOSE_RANGE_CLOEXECflag#3996 - FreeBSD: fix test errors regarding
__gregset_t#3995 - FreeBSD: fix tests on x86 FreeBSD 15 #3948
- FreeBSD: make
ucontext_tandmcontext_tavailable on all architectures #3848 - Haiku: add
getentropy#3991 - Illumos: add
syncfs#3990 - Illumos: add some recently-added constants #3999
- Linux: add
ioctlflags #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_fsidfield tost_dev#3785 - Hurd: fix the definition of
utsname#3992 - Illumos/Solaris: fix
FNM_CASEFOLDdefinition #4004 - Solaris: fix all tests #3864
Other
0.2.161
0.2.160
Added
- Android: add
PR_GET_NAMEandPR_SET_NAME#3941 - Apple: add
F_TRANSFEREXTENTS#3925 - Apple: add
mach_error_string#3913 - Apple: add additional
pthreadAPIs #3846 - Apple: add the
LOCAL_PEERTOKENsocket option #3929 - BSD: add
RTF_*,RTA_*,RTAX_*, andRTM_*definitions #3714 - Emscripten: add
AT_EACCESS#3911 - Emscripten: add
getgrgid,getgrnam,getgrnam_randgetgrgid_r#3912 - Emscripten: add
getpwnam_randgetpwuid_r#3906 - FreeBSD: add
POLLRDHUP#3936 - Haiku: add
arc4random#3945 - Illumos: add
ptsname_r#3867 - Linux: add
fanotifyinterfaces #3695 - Linux: add
tcp_info#3480 - Linux: add additional AF_PACKET options #3540
- Linux: make Elf constants always available #3938
- Musl x86: add
ioplandioperm#3720 - Musl: add
posix_spawnchdir functions #3949 - Musl: add
utmpx.hconstants #3908 - NetBSD: add
sysctlnametomib,CLOCK_THREAD_CPUTIME_IDandCLOCK_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_tto 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
__timevalfor 64-bit support in #3786 - Linux: add
epoll_pwait2in #3868 - Linux: add
mq_notifyin #3849 - Linux: add missing
NFT_CT_*constants in #3844 - Linux: add the
fchmodat2syscall in #3588 - Linux: add the
msealsyscall in #3798 - OpenBSD: add
sendmmsgandrecvmmsgin #3831 - Unix: add
IN6ADDR_ANY_INITandIN6ADDR_LOOPBACK_INITin #3693 - VxWorks: add
S_ISVTXin #3768 - VxWorks: add
vxCpuLibandtaskLibfunctions #3861 - WASIp2: add definitions for
std::netsupport in #3892
Fixed
- Correctly handle version checks when
clippy-driveris used #3893
Changed
0.2.158
Fixed
- WASI: fix missing
Iteratorwithrustc-dep-of-stdin #3856 (comment)
0.2.157
Added
- Apple: add
_NSGetArgv,_NSGetArgcand_NSGetPrognamein #3702 - Build: add
RUSTC_WRAPPERsupport in #3845 - FreeBSD: add
execvpesupport from 14.1 release in #3745 - Fuchsia: add
SO_BINDTOIFINDEX - Linux: add
klogctlin #3777 - MacOS: add
fcntlOFD commands in #3563 - NetBSD: add
_lwp_parkin #3721 - Solaris: add missing networking support in #3717
- Unix: add
pthread_equalin #3773 - WASI: add
select,FD_SET,FD_ZERO,FD_ISSETin #3681
Fixed
- TEEOS: fix octal notation for
O_*constants in #3841
Changed
- FreeBSD: always use freebsd12 when
rustc_dep_of_stdis set in #3723
0.2.156
Added
- Apple: add
F_ALLOCATEPERSISTin #3712 - Apple: add
os_sync_wait_on_addressand related definitions in #3769 - BSD: generalise
IPV6_DONTFRAGto all BSD targets in #3716 - FreeBSD/DragonFly: add
IP_RECVTTL/IPV6_RECVHOPLIMITin #3751 - Hurd: add
XATTR_CREATE,XATTR_REPLACEin #3739 - Linux GNU:
confstrAPI and_CS_*in #3771 - Linux musl: add
preadv2andpwritev2(1.2.5 min.) in #3762 - VxWorks: add the constant
SOMAXCONNin #3761 - VxWorks: add a few errnoLib related constants in #3780
Fixed
Changed
Removed
- Apple: remove
rmx_statein #3776
Other
- Update or remove CI tests that have been failing
0.2.155
What's Changed
- Add
SYS_lseekandSYS_mmapfor 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.155by @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