Releases: rust-lang/libc
Releases Β· rust-lang/libc
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_ONFAULTconstants 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.hfunctions 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_setguardsizeandpthread_attr_getstacksize. by @sunfishcode in #3330 - Add missing PS Vita definitions, fix some unused ones by @pheki in #3284
- Drop
armv7-apple-iostarget 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=coreinstead ofbuild-stdalone 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
_msizefor Windows targets by @uniboi in #3319 - Define
SO_PROTOCOLandSO_DOMAINon OpenBSD and Solarish. by @sunfishcode in #3316 - Fix size/align of
ucontext_ton 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_ETHERNETon 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_SYSEMUandPTRACE_SYSEMU_SINGLESTEPon 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_LENfor 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
FICLONEon 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_definitionsfrom 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_WAITFORONEto 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
0.2.142
What's Changed
- netbsd add MAP_ALIGNED macro by @devnexen in #3170
- Install libnghttp2 on all FreeBSD jobs by @JohnTitor in #3192
- freebsd add MAP_ALIGNED macro by @devnexen in #3167
- Add more declarations for AIX by @ecnelises in #3144
- Remove AIX specific definition of sigval by @ecnelises in #3189
- haiku adding bsd missing constants by @devnexen in #3193
- netbsd,openbsd: add more waitid related constants by @valpackett in #3188
- Pin FreeBSD 14 version on CI by @JohnTitor in #3203
- adding getdtablesize on redox by @devnexen in #3199
- Add kexec_file_load system call for arm linux by @ribalda in #3200
- Upstream a few more constants from rustix. by @sunfishcode in #3173
- freebsd i686 add ucontext/mcontext by @devnexen in #3202
- fuchsia: add definitions for riscv64 by @ComputerDruid in #3204
- Mention unstable values on PR template by @JohnTitor in #3207
- fix: CMSG_HEADER_ALIGNMENT was not properly equal to the C Header file in illumos by @Toasterson in #3171
- Bump to 0.2.142 by @ComputerDruid in #3208
New Contributors
- @ComputerDruid made their first contribution in #3204
- @Toasterson made their first contribution in #3171
Full Changelog: 0.2.141...0.2.142
0.2.141
What's Changed
- linux: move DCCP_ constants from linux/gnu to linux by @nekopsykose in #3136
- Haiku StringList api addition by @devnexen in #3147
- Add reentrant glibc getmntent_r by @KoviRobi in #3148
- Fix
SOCK_SEQPACKETandMAP_SYNCon musl powerpc and s390. by @sunfishcode in #3140 - Add LC_ constants for redox (and truncate() is now supported) by @coolreader18 in #3145
- Add OpenBSD CLOCK_* constants by @lcheylus in #3146
- progname api for haiku by @devnexen in #3158
- linux: add kexec flags by @ribalda in #3156
- Enable the "shortcut" feature for triagebot by @JohnTitor in #3162
- FreeBSD: Ignore test for remove const by @JohnTitor in #3172
- redox add strlcpy api by @devnexen in #3168
- redox add explicit_bzero by @devnexen in #3164
- add memmem GNU extension for haiku by @devnexen in #3165
- mac time.h functions by @shua in #3152
- Add user_regs_struct for riscv32/64 by @kxxt in #3166
- haku adding dl_iterate_phdr bsd extension by @devnexen in #3153
- Disable the
test_cmsg_nxthdrtest by @JohnTitor in #3182 - redox reallocarray addition by @devnexen in #3174
- Adding RTEXT_FILTER* constants from linux/rtnetlink.h by @jreppnow in #3035
- Add missing kqueue constants across BSDs by @valpackett in #3150
- Make CMSG_SPACE on aix const by @coolreader18 in #3176
- Use aligned
cmsghdrstructstest_cmsg_nxthdrby @ChrisDenton in #3183 - definitions for linux hardware timestamping by @folkertdev in #3155
- aix: add siginfo_t accessors for symmetry with other platforms by @valpackett in #3185
- Bump version to 0.2.141 by @arjentz in #3177
- build.rs: print rustc stderr if exit status != 0 by @jsha in #3180
New Contributors
- @nekopsykose made their first contribution in #3136
- @KoviRobi made their first contribution in #3148
- @lcheylus made their first contribution in #3146
- @ribalda made their first contribution in #3156
- @shua made their first contribution in #3152
- @jreppnow made their first contribution in #3035
- @ChrisDenton made their first contribution in #3183
- @arjentz made their first contribution in #3177
- @jsha made their first contribution in #3180
Full Changelog: 0.2.140...0.2.141