Releases: rust-lang/libc
Releases · rust-lang/libc
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
0.2.149
What's Changed
- libc 0.2.148 by @joshtriplett in #3351
- update libc-test and its libc dependency to 0.2.148 by @chenx97 in #3314
- Disable 1.13 CI by @JohnTitor in #3358
- Add teeos libc by @Sword-Destiny in #3333
- Added SIOCSIFNAME by @Brijeshkrishna in #3354
- copyfile apple api update by @devnexen in #3346
- Hermit updates by @mkroening in #3348
- Add the LoongArch64 HWCAP values by @heiher in #3344
- Add F_PUNCHHOLE and fpunchhole_t by @anacrolix in #3337
- Fix compatibility with Emscripten >= 3.1.44 by @kleisauke in #3308
- freebsd adding few mmap constants related to page alignment by @devnexen in #3326
- Redox pthreads by @4lDO2 in #3347
- linux MADV_COLLAPSE addition by @devnexen in #3340
- android adding few more pthread api calls. by @devnexen in #3288
- Declare
pthread_attr_setguardsize
andpthread_attr_getstacksize
. by @sunfishcode in #3330 - Add missing PS Vita definitions, fix some unused ones by @pheki in #3284
- Drop
armv7-apple-ios
target support by @JohnTitor in #3362 - backtrace definitions and support for getmntinfo and getvfsstat by @0323pin in #3368
- apple fcntl update. by @devnexen in #3365
- Added socketpair and pipe2 for Vita target by @nikarh in #3366
- Added additional Ethernet Protocol Ids for fuchsia by @w1redch4d in #3332
- timerfd api for freebsd 14. by @devnexen in #3341
- haiku adding pthread GNU part by @devnexen in #3364
- add execveat for glibc by @SteveLauC in #3372
- added support for GNU/Hurd by @Vtewari2311 in #3325
- Fix apple tvos support by @lcruz99 in #3370
- Remove deprecation from SA_ONSTACK; fix hexagon-unknown-linux-musl by @androm3da in #3335
- feat: add close_range for glibc by @SteveLauC in #3373
- Update crate version to 0.2.149 by @nikarh in #3360
New Contributors
- @Sword-Destiny made their first contribution in #3333
- @Brijeshkrishna made their first contribution in #3354
- @anacrolix made their first contribution in #3337
- @4lDO2 made their first contribution in #3347
- @pheki made their first contribution in #3284
- @0323pin made their first contribution in #3368
- @w1redch4d made their first contribution in #3332
- @Vtewari2311 made their first contribution in #3325
- @lcruz99 made their first contribution in #3370
Full Changelog: 0.2.148...0.2.149
0.2.148
What's Changed
- Fix ABI compatibility with Emscripten >= 3.1.42 by @kleisauke in #3282
- android: Add kernel/uapi/linux/neighbour.h constants by @dragan-cecavac-nordsec in #3278
- Disable FreeBSD 14 CI temporarily by @JohnTitor in #3294
- Use
build-std=core
instead ofbuild-std
alone by @GuillaumeGomez in #3292 - android PTRACE_SECCOMP_GET_METADATA flag addition by @devnexen in #3293
- linux/musl: Fix multiple definitions of MAP_HUGETLB by @taiki-e in #3295
- darwin adding bunch of macOs Ventura new calls by @devnexen in #3296
- android: Update linux/if_link.h constants by @dragan-cecavac-nordsec in #3277
- add mips32r6 and mips64r6 target_arch detection by @chenx97 in #3268
- Fix Pages deployment by @JohnTitor in #3298
- style fix for in-macro code by @chenx97 in #3300
- linux/gnu: add glob extension constants by @Mek101 in #3303
- linux: add a few kTLS defintions by @gennyble in #3287
- Add missing targets for documentation and remove duplicates for list by @GuillaumeGomez in #3309
- libc-test: remove useless clone in build.rs by @chenx97 in #3315
- Add
_msize
for Windows targets by @uniboi in #3319 - Define
SO_PROTOCOL
andSO_DOMAIN
on OpenBSD and Solarish. by @sunfishcode in #3316 - Fix size/align of
ucontext_t
on aarch64-apple-darwin by @alexcrichton in #3312 - add initial support for csky-unknown-linux-gnuabiv2 by @Dirreke in #3301
- linux glibc/musl and android adding PROT_BTI/PROT_MTE mmap flags for … by @devnexen in #3313
- CI: Update Node.js version to v16.20.0 by @kleisauke in #3321
- add RTLD_MAIN_ONLY by @shyouhei in #3322
New Contributors
- @taiki-e made their first contribution in #3295
- @gennyble made their first contribution in #3287
- @uniboi made their first contribution in #3319
- @Dirreke made their first contribution in #3301
- @shyouhei made their first contribution in #3322
Full Changelog: 0.2.147...0.2.148
0.2.147
What's Changed
- Add socket timestamping for Android by @spencercw in #3267
- Fix s390x-installer paths by @JohnTitor in #3281
- Generate documentation for all supported targets on docs.rs by @GuillaumeGomez in #3279
- Define
IPPROTO_ETHERNET
on Linux-like platforms. by @sunfishcode in #3272 - Add trait implementations for QNX Neutrino by @flba-eb in #3273
- getentropy addition to android by @devnexen in #3270
- android adding sendfile64 variant by @devnexen in #3271
- android: Add NLM_F_DUMP_FILTERED constant by @dragan-cecavac-nordsec in #3276
- Update and release version 0.2.147 by @flba-eb in #3283
New Contributors
- @dragan-cecavac-nordsec made their first contribution in #3276
Full Changelog: 0.2.146...0.2.147
0.2.146
0.2.145
This version has been yanked on crates.io.
What's Changed
- redox add sig(timed)wait calls by @devnexen in #3244
- Support for
PTRACE_SYSEMU
andPTRACE_SYSEMU_SINGLESTEP
on musl by @emilengler in #3245 - Fix loongarch64 bindings by @heiher in #3246
- Add linux canxl constants and canxl frame struct by @marcelbuesing in #3247
- Change branch references to HEAD where possible or main otherwise by @joshtriplett in #3249
- linux/musl/s390x: change f_* constants to uint from ulong by @nekopsykose in #3137
- android: add memmem by @tibordp in #3252
- redox adding lockf flags by @devnexen in #3251
- Add ucred struct and field type aliases for redox by @andrewdavidmackenzie in #3250
- Fixed vita libc definitions by @nikarh in #3255
- Skip round-trip tests for structs with FAMs by @bossmc in #3254
- Fixed pthread_attr_t and pthread_rwlockattr_t for newlib by @nikarh in #3256
- Alias all LFS64 symbols to their non-LFS64 counterparts on musl by @bossmc in #2935
- add constants and structs for vsock on macos by @tzneal in #3258
- dragonflybsd supports malloc_usable_size too by @devnexen in #3253
- linux-gnu: add putpwent/putgrent by @superwhiskers in #3257
- s390x-musl: define O_LARGEFILE constant by @nekopsykose in #3262
- add MSG_NEEDSA and MSG_NOSIGNAL for macos by @tzneal in #3263
- Update crate version to 0.2.145 by @nikarh in #3259
New Contributors
- @emilengler made their first contribution in #3245
- @marcelbuesing made their first contribution in #3247
- @tibordp made their first contribution in #3252
- @andrewdavidmackenzie made their first contribution in #3250
- @tzneal made their first contribution in #3258
- @superwhiskers made their first contribution in #3257
Full Changelog: 0.2.144...0.2.145
0.2.144
What's Changed
- Add missing <proc.h> constants for darwin by @GuillaumeGomez in #3233
- more bsd things: kenv, setlogin, reboot, SCM_ constants by @valpackett in #3238
- Constify
CMSG_LEN
for all targets. by @jmillikin in #3241 - Update crate version to 0.2.144 by @GuillaumeGomez in #3239
New Contributors
- @jmillikin made their first contribution in #3241
Full Changelog: 0.2.143...0.2.144
0.2.143
What's Changed
- Fix "Bump to 0.2.142" libc dependency version by @ilya-bobyr in #3215
- NetBSD: add two more errno values by @0-wiz-0 in #3040
- Linux madv by @tatref in #3159
- Define
FICLONE
on mips and power. by @sunfishcode in #3212 - redox adding few calls. by @devnexen in #3214
- linux_like: IPPROTO_MPTCP are supported in all linux_like platforms by @zonyitoo in #3197
- Clean up some externs by @JohnTitor in #3218
- freebsd add elf_aux_info constants by @devnexen in #3210
- Upgrade CI image to macOS 12 by @JohnTitor in #3219
- Use the latest Debian for SPARC64 by @JohnTitor in #3220
- haiku: fix incorrect linked library. by @jessicah in #3222
- armv7 PSVita OS support via newlib by @nikarh in #3209
- Don't link
legacy_stdio_definitions
from std by @ChrisDenton in #3226 - Unignore some items test on sparc64 by @JohnTitor in #3227
- Added getentropy to vita target by @nikarh in #3230
- redox: add grp.h and pwd.h functions for the users crate by @jackpot51 in #3228
- redox add few more poll constants by @devnexen in #3232
- freebsd add few more procctl x86_64 constants. by @devnexen in #3231
- Add
MSG_WAITFORONE
to freebsd and openbsd by @stevenengler in #3224 - Add PF_ROUTE-related structures on Apple systems by @roblabla in #3206
- linux_like: Add missing constants for loongarch64 by @heiher in #3237
- linux: add rtnetlink ifinfomsg attribute enumerals by @tones111 in #3051
- add major/minor on BSDs/illumos by @SteveLauC in #2999
- Release 0.2.143 by @JohnTitor in #3236
New Contributors
- @ilya-bobyr made their first contribution in #3215
- @0-wiz-0 made their first contribution in #3040
- @tatref made their first contribution in #3159
- @nikarh made their first contribution in #3209
- @heiher made their first contribution in #3237
Full Changelog: 0.2.142...0.2.143