Releases: rust-lang/libc
Releases Β· rust-lang/libc
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
0.2.152
What's Changed
- openbsd: syscall() has been removed in upcoming OpenBSD 7.5 by @semarie in #3479
- adding tcp_info to openbsd by @devnexen in #3481
- iadding yser_fpxregs_struct data to linux/musl i686. by @devnexen in #3477
- strftime* api for *BSD by @devnexen in #3483
- strftime_l for Linux glibc/musl by @devnexen in #3484
- adding iocb data for io_submit syscall for linux/glibc. by @devnexen in #3486
- Re-enable
i686-pc-windows-gnu
CI by @JohnTitor in #3489 - Stop testing on FreeBSD 12 by @asomers in #3475
- Add
ifreq
,ifconf
and related constants to Android by @arctic-alpaca in #3487 - Add waitid function for OpenBSD by @lcheylus in #3490
- adding SOMAXCONN to redox by @devnexen in #3491
- Fix typos in comments by @asomers in #3492
- fix typos in libc by @Takashiidobe in #3496
- apple adding tcp_connection_info struct by @devnexen in #3482
- Improve the version parser of Emscripten by @kleisauke in #3498
- Add constants from <include/linux/sched.h> by @GuillaumeGomez in #3505
- Define
TFD_TIMER_*
constants on FreeBSD. by @sunfishcode in #3506 - Add support for posix_spawn on OpenBSD by @nuudlman in #3502
- clock_nanosleep for dragonflybsd, moving constants freebsd only too. by @devnexen in #3509
- solarish add fcntl's O_DIRECT constant. by @devnexen in #3503
- Unpin cc dependency version by @JohnTitor in #3511
- redox: add openpty, login_tty, TIOCSCTTY, and organize functions by @jackpot51 in #3512
- Move all seccomp consts and structs into top-level mod by @boustrophedon in #3343
- freebsd 15 support proposal. by @devnexen in #3508
- Prepare workflow for merge queue by @JohnTitor in #3514
- Allow dead_code on
clockid_t
by @JohnTitor in #3516 - Add more items from
include/linux/sched.h
header by @GuillaumeGomez in #3515 - fix typo by @shuoer86 in #3517
- Add sigsuspend to more targets: bsd, haiku, and solarish by @asomers in #3518
- Tweak libc-0.2 CI by @JohnTitor in #3519
- fuchsia adding pthread_set/getname_np by @devnexen in #3520
- Prepare docs for libc v0.3 by @JohnTitor in #3510
- Merge main into libc-0.2 by @JohnTitor in #3521
- Prepare release for v0.2.152 by @JohnTitor in #3522
New Contributors
- @Takashiidobe made their first contribution in #3496
- @nuudlman made their first contribution in #3502
- @boustrophedon made their first contribution in #3343
- @shuoer86 made their first contribution in #3517
Full Changelog: 0.2.151...0.2.152
0.2.151
What's Changed
- Add new constants to be used in (linux) sysctl by @GuillaumeGomez in #3423
- openbsd ifreq implementation refinement ifru_data member using proper⦠by @devnexen in #3390
- adding reboot to netbsd/openbsd. by @devnexen in #3426
- feat: add GSO flags for linux and android by @elecm in #3420
- Use a unique name for the Docker image used by CI. by @Arnavion in #3427
- Add more definitions from linux/tls.h by @Arnavion in #3422
- hurd: Complete C API interface by @sthibaul in #3428
- Fix a typo in getnameinfo() by @adder32 in #3431
- hurd: Fix C API interface completion by @sthibaul in #3430
- Downgrade CI support for MIPS by @JohnTitor in #3429
- Upgrade FreeBSD ABi used on std to 12 by @JohnTitor in #3434
- Upgrade Android NDK version by @JohnTitor in #3435
- feat: Added wireless.h constants by @Brijeshkrishna in #3415
- feat: eventfd_read/write for Android/FreeBSD/Linux by @SteveLauC in #3437
- Upgrade macOS image to 13 by @JohnTitor in #3442
- Add the NI_IDN getnameinfo() extension by @adder32 in #3433
- adding getentropy for apple devices. by @devnexen in #3443
- Add ioctl FS_IOC_* version and flag constants by @fsavy-tehtris in #3396
- haiku adding subset of cpu topology api. by @devnexen in #3440
- add vm_allocate for apple by @hjmallon in #3448
- Remove asmjs-unknown-emscripten target by @JohnTitor in #3451
- add more pthread_attr functions and related constants: by @Ncerzzk in #3447
- Add
IP_RECVTTL
andIPV6_RECVHOPLIMIT
for Apple platforms by @larseggert in #3450 - Unignore
aarch64-linux-android
by @JohnTitor in #3438 - Fix libc-tests for illumos/solaris target by @pfmooney in #3455
- expose solarish's SFV_FD_SELF for sendfilev purpose by @devnexen in #3452
- Do not dereference uninhabited types refs in Clone implementations by @samueltardieu in #3456
- Update docs for contributors by @JohnTitor in #3458
- adding RFSIGSHARE flag for FreeBSD's rfork by @devnexen in #3457
- MAP_HUGE_SHIFT & HUGETLB_FLAG_ENCODE_SHIFT for Andorid/Fuchsia by @SteveLauC in #3444
- netbsd arm* registers and reorder per architecture. by @devnexen in #3467
- add pthread_cond_timedwait for teeos by @Sword-Destiny in #3464
- Add
if_xdp.h
structs and constants and addSOL_XDP
to musl by @arctic-alpaca in #3453 - Generate
aarch64-apple-darwin
docs on docs.rs by @JohnTitor in #3470 - openbsd riscv64 adding sigcontext by @devnexen in #3469
- openbsd/netbsd MAP_TRYFIXED constant by @devnexen in #3471
- Prepare release for v0.2.151 by @JohnTitor in #3472
New Contributors
- @elecm made their first contribution in #3420
- @Arnavion made their first contribution in #3427
- @adder32 made their first contribution in #3431
- @fsavy-tehtris made their first contribution in #3396
- @hjmallon made their first contribution in #3448
- @Ncerzzk made their first contribution in #3447
- @larseggert made their first contribution in #3450
- @samueltardieu made their first contribution in #3456
- @arctic-alpaca made their first contribution in #3453
Full Changelog: 0.2.150...0.2.151
0.2.150
What's Changed
- feat: closefrom() and close_range() for FreeBSD by @SteveLauC in #3374
- adding apple ifreq by @devnexen in #3375
- Add pthread_once by @0xcaff in #3376
- netbsd: Add SO_NOSIGPIPE by @taiki-e in #3377
- Say goodbye to GH Pages in favor of docs.rs by @JohnTitor in #3378
- bugfix for teeos use Option by @Sword-Destiny in #3379
- openbsd/netbsd sharing execvpe definition by @devnexen in #3382
- ifreq for apple follow-up fix case when in non libc_union case by @devnexen in #3385
- NetBSD's mod.rs: fix cpuid_t definition. by @he32 in #3386
- ifconf addition to apple. fixing freebsd's implementation while at it. by @devnexen in #3388
- adding exect/execvP for FreeBSD/DragonflyBSD by @devnexen in #3381
- adding execvP for apple by @devnexen in #3383
- adding ifreq struct for openbsd by @devnexen in #3384
- Add
MCL_ONFAULT
constants by @newpavlov in #3380 - Add time namespace constant by @cd-work in #3352
- adding few more CLONE_* constant for Linux/Android. by @devnexen in #3034
- android add handful lock free stdio calls by @devnexen in #3290
- hurd: Fix msghdr's msg_iov field type by @sthibaul in #3389
- Adding missing macros from linux/if_tun.h by @BrandonMFong in #3320
- vxworks: Add mman.h consts and shm functions by @jdygert-spok in #3406
- Reenable FreeBSD 14 CI, and update definitions to match 14.0-RC1. by @asomers in #3355
- Use new check-cfg syntax in newer nightly by @Urgau in #3410
- musl fixes and musl+riscv32 fixes by @akiernan in #3302
- Add various constants from OpenBSD's sys/exec_elf.h. by @ltratt in #3409
- riscv64/musl: Add landlock syscalls by @marv in #3398
- Add stat64at function declaration to AIX by @ecnelises in #3324
- adding getmntinfo/getmntvinfo for DragonFlyBSD. by @devnexen in #3394
- adding MOVE_MOUNT* constants for linux to use with SYS_move_mount by @devnexen in #3391
- freebsd adding PROT_MAX|PROT_MAX_EXTRACT mmap flags by @devnexen in #3399
- linux/android adding few if_alg.h constants. by @devnexen in #3404
- Setup Dependabot for GitHub Actions by @JohnTitor in #3411
- For NetBSD: add entry for NetBSD/riscv64. by @he32 in #3291
- adding more recent pthread_get/setname_np calls to freebsd/dragonflybsd by @devnexen in #3412
- NetBSD/mipsel: add support. by @he32 in #3416
- feat: add new constants from fanotify linux api by @ad0 in #3408
- linux: add PTRACE_GETSIGMASK and PTRACE_SETSIGMASK by @mbyzhang in #3163
- Add a few declarations for Apple systems by @vincentisambart in #3328
- feat: Added ifconf struct by @Brijeshkrishna in #3393
- Upgrade Docker images to Ubuntu 23.10 by @JohnTitor in #3418
- redox: Add remaining
grp.h
functions by @ids1024 in #3421 - netbsd/openbsd adding more accessors to siginfo_t. by @devnexen in #3400
- Prepare release for v0.2.150 by @JohnTitor in #3424
New Contributors
- @0xcaff made their first contribution in #3376
- @he32 made their first contribution in #3386
- @sthibaul made their first contribution in #3389
- @BrandonMFong made their first contribution in #3320
- @jdygert-spok made their first contribution in #3406
- @Urgau made their first contribution in #3410
- @akiernan made their first contribution in #3302
- @marv made their first contribution in #3398
- @ad0 made their first contribution in #3408
- @vincentisambart made their first contribution in #3328
Full Changelog: 0.2.149...0.2.150