Releases: rust-lang/libc
Releases Β· rust-lang/libc
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
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_SEQPACKET
andMAP_SYNC
on 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_nxthdr
test 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
cmsghdr
structstest_cmsg_nxthdr
by @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
0.2.140
What's Changed
- linux-like: add AT_RECURSIVE constant by @lucab in #3043
- Set correct
FD_SETSIZE
forespidf
by @zRedShift in #3054 - Fix Fuchsia target names by @JohnTitor in #3059
- PIDFD_NONBLOCK addition into uclibc. by @devnexen in #3029
- linux add scheduler core for prctl constants by @devnexen in #3055
- linux-like: add OPEN_TREE_CLONE and OPEN_TREE_CLOEXEC by @lucab in #3048
- adding mimmutable from openbsd (7.3) by @devnexen in #3063
- Fix compile error for riscv64-linux-android by @colincross in #3064
- android: add missing syscall constants by @lucab in #3062
- haiku posix layer adding locale flavor of strcasecmp api by @devnexen in #3069
- linux: add pthread barriers by @Forestryks in #3065
- netbsd 10 adding getentropy/getrandom. by @devnexen in #3071
- Ignore some ABI changed fns on macOS by @JohnTitor in #3077
- Add struct ctl_info by @siegfried in #3046
- linux: add additional netlink interface attribute tags by @tones111 in #3053
- Add
pthread_main_np
on Apple targets by @madsmtm in #3079 - uclibc/mips: add O_NOATIME & O_PATH constant by @cppcoffee in #3058
- linux/uclibc: resync syscall tables by @lucab in #3061
- freebsd 14 add ptrace_sc_remote. by @devnexen in #3073
- netbsd 10 event api update. by @devnexen in #3080
- linux glibc update arm64 HWCAP2 list including the last 6.1 kernel en⦠by @devnexen in #3081
- adding specific freebsd signal constants by @devnexen in #3082
- Add getentropy for Emscripten by @kleisauke in #3087
- netbsd 10 add ppoll api support by @devnexen in #3083
- uclibc/mips: add missing O_LARGEFILE constant by @cppcoffee in #3088
- add
user_regs
for linux on arm by @Freax13 in #3072 - linux: add PTRACE_SYSCALL_INFO_* by @mbyzhang in #3074
- linux: add PR_SET_PTRACER_ANY by @howjmay in #3086
- uclibc/mips: add missing constant by @cppcoffee in #3092
- m68k: Fix incorrect type for sigaction::sa_flags by @glaubitz in #3078
- Solaris/Illumos: use correct types for getrandom(2) flags by @josephlr in #3090
- Upgrade FreeBSD 14 image by @JohnTitor in #3096
- ANDROID: Add syncfs API in liblibc by @shikhapanwar in #3060
- add SO_TS_* constants for FreeBSD by @folkertdev in #3098
- uclibc/mips: add more missing constant by @cppcoffee in #3094
- pidfile util api for freebsd addition. by @devnexen in #3099
- freebsd add initial sctp support by @devnexen in #3101
- uclibc/mips: add missing MAP_HUGETLB constant by @cppcoffee in #3100
- xous: add initial C definitions by @xobs in #3084
- freebsd further sctp support. by @devnexen in #3102
- apple add pthread_stack_frame_decode_np by @devnexen in #3105
- linux tcp adding TCP_MD5SIG_MAXKEYLEN const. by @devnexen in #3107
- linux: add more constants and FUTEX_OP for futex by @voskh0d in #3109
- linux starting adding sctp support by @devnexen in #3095
- freebsd tcp_info data addition. by @devnexen in #3112
- netbsd tcp_info data addition. by @devnexen in #3113
- FreeBSD: move all new ABI to base module, add more O_ flags by @valpackett in #3114
- freebsd sctp support part 3 by @devnexen in #3118
- linux adding strchrnul by @devnexen in #3104
- FreeBSD: strchrnul, AT_EMPTY_PATH by @valpackett in #3122
- prctl SME flags for gnu arm64. by @devnexen in #3116
- freebsd further sctp support. by @devnexen in #3121
- Add STATX_DIOALIGN (introduced in linux v6.1) by @ETKNeil in #3076
- FreeBSD: add AT_RESOLVE_BENEATH, Linux-compatible clock aliases by @valpackett in #3124
- Support AIX operating system by @ecnelises in #2894
- Add glibc extensions for posix_spawn*. by @kosayoda in #3119
- add p_name field in kinfo_proc struct on OpenBSD by @semarie in #3126
- Drop semver check job on CI by @JohnTitor in #3127
- Add posix_spawnattr_set_qos_class_np by @stepancheg in #3128
- Remove duplicated atof function declaration by @flba-eb in #3130
- Ignore some removed
IP_*
consts on FreeBSD by @JohnTitor in #3134 - membarrier flags constants addition by @devnexen in #3039
- linux/musl: add copy_file_range syscall wrapper by @slp in #3133
- Add support for OpenHarmony by @Amanieu in #3138
- add S_IRWX* constants to wasi by @connor4312 in #3142
- Add support for the unstable
check-cfg
feature behind an environment variable by @pietroalbini in #3037 - wasi: add __errno_location by @connor4312 in #3143
- Bump version to 0.2.140 by @Amanieu in #3141
New Contributors
- @zRedShift made their first contribution in #3054
- @Forestryks made their first contribution in #3065
- @siegfried made their first contribution in #3046
- @tones111 made their first contribution in #3053
- @madsmtm made their first contribution in #3079
- @kleisauke made their first contribution in #3087
- @Freax13 made their first contribution in #3072
- @mbyzhang made their first contribution in #3074
- @howjmay made their first contribution in #3086
- @shikhapanwar made their first contribution in #3060
- @xobs made their first contribution in #3084
- @voskh0d made their first contribution in #3109
- @ETKNeil made their first contribution in #3076
- @ecnelises made their first contribution in #2894
- @kosayoda made their first contribution in #3119
- @stepancheg made their first contribution in #3128
- @connor4312 made their first contribution in #3142
Full Changelog: 0.2.139...0.2.140
0.2.139
What's Changed
- Update FreeBSD 12 CI environment to 12.4 by @asomers in #3028
- Try readding all inotify flags by @carbotaniuman in #3030
- linux: Add AT_SYSINFO_EHDR constant by @Phantomical in #3027
- Add missing string-to-number functions from ISO C by @LegionMammal978 in #3036
- Add support for QNX/Neutrino 7.1 by @gh-tr in #3038
- Add misc constants and functions for android by @fkm3 in #2758
- adding KERNEL_VERSION macro for linux. by @devnexen in #3041
- Prepare 0.2.139 release by @flba-eb in #3042
New Contributors
- @Phantomical made their first contribution in #3027
- @LegionMammal978 made their first contribution in #3036
- @gh-tr made their first contribution in #3038
- @fkm3 made their first contribution in #2758
Full Changelog: 0.2.138...0.2.139