0.2.167 - 2024-11-28
- Fix the build with
rustc-dep-of-std
#4158 - Wasi: Add back unsafe block for
clockid_t
static variables (#4157)
- CI: Check various FreeBSD versions (#4159)
- CI: add a timeout for all jobs #4164
- CI: verify MSRV for
wasm32-wasi
#4157 - Migrate to the 2021 edition #4132
- Remove one unused import after the edition 2021 bump
0.2.166 - 2024-11-26
This release resolves two cases of unintentional breakage from the previous release:
0.2.165 - 2024-11-25
- Android: add
mkostemp
,mkostemps
#3601 - Android: add a few API 30 calls #3604
- Android: add missing syscall constants #3558
- Apple: add
in6_ifreq
#3617 - Apple: add missing
sysctl
net types #4022 (before release: removeif_family_id
(#4137)) - Freebsd: add
kcmp
call support #3746 - Hurd: add
MAP_32BIT
andMAP_EXCL
#4127 - Hurd: add
domainname
field toutsname
(#4089) - Linux GNU: add
f_flags
to structstatfs
for arm, mips, powerpc and x86 #3663 - Linux GNU: add
malloc_stats
#3596 - Linux: add ELF relocation-related structs #3583
- Linux: add
ptp_*
structs #4113 - Linux: add
ptp_clock_caps
#4128 - Linux: add
ptp_pin_function
and mostPTP_
constants #4114 - Linux: add missing AF_XDP structs & constants #3956
- Linux: add missing netfilter consts (#3734)
- Linux: add struct and constants for the
mount_setattr
syscall #4046 - Linux: add wireless API #3441
- Linux: expose the
len8_dlc
field ofcan_frame
#3357 - Musl: add
utmpx
API #3213 - Musl: add missing syscall constants #4028
- NetBSD: add
mcontext
-related data for RISCV64 #3468 - Redox: add new
netinet
constants #3586) - Solarish: add
_POSIX_VDISABLE
(#4103) - Tests: Add a test that the
const extern fn
macro works #4134 - Tests: Add test of primitive types against
std
#3616 - Unix: Add
htonl
,htons
,ntohl
,ntohs
#3669 - Unix: add
aligned_alloc
#3843 - Windows: add
aligned_realloc
#3592
- breaking Hurd: fix
MAP_HASSEMAPHORE
name (#4127) - breaking ulibc Mips: fix
SA_*
mismatched types (#3211) - Aix: fix an enum FFI safety warning #3644
- Haiku: fix some typos (#3664)
- Tests: fix
Elf{32,64}_Relr
-related tests #3647 - Tests: fix libc-tests for
loongarch64-linux-musl
- Tests: fix some clippy warnings #3855
- Tests: fix tests on
riscv64gc-unknown-freebsd
#4129
- Apple: deprecate
iconv_open
https://github.com/rust-lang/libc/commit/25e022a22eca3634166ef472b748c297e60fcf7f - Apple: deprecate
mach_task_self
#4095 - Apple: update
mach
deprecation notices for things that were removed inmain
#4097
- Adjust the
f!
macro to be more flexible #4107 - Aix: remove duplicate constants #3643
- CI: make scripts more uniform #4042
- Drop the
libc_align
conditional https://github.com/rust-lang/libc/commit/b5b553d0ee7de0d4781432a9a9a0a6445dd7f34f - Drop the
libc_cfg_target_vendor
conditional #4060 - Drop the
libc_const_size_of
conditional https://github.com/rust-lang/libc/commit/5a43dd2754366f99b3a83881b30246ce0e51833c - Drop the
libc_core_cvoid
conditional #4060 - Drop the
libc_int128
conditional #4060 - Drop the
libc_non_exhaustive
conditional #4060 - Drop the
libc_packedN
conditional #4060 - Drop the
libc_priv_mod_use
conditional https://github.com/rust-lang/libc/commit/19c59376d11b015009fb9b04f233a30a1bf50a91 - Drop the
libc_union
conditional https://github.com/rust-lang/libc/commit/b9e4d8012f612dfe24147da3e69522763f92b6e3 - Drop the
long_array
conditional #4096 - Drop the
ptr_addr_of
conditional #4065 - Drop warnings about deprecated cargo features #4060
- Eliminate uses of
struct_formatter
#4074 - Fix a few other array size hacks https://github.com/rust-lang/libc/commit/d63be8b69b0736753213f5d933767866a5801ee7
- Glibc: remove redundant definitions (#3261)
- Musl: remove redundant definitions (#3261)
- Musl: unify definitions of
siginfo_t
(#3261) - Musl: unify definitions of statfs and statfs64 (#3261)
- Musl: unify definitions of statvfs and statvfs64 (#3261)
- Musl: unify statx definitions (#3978)
- Remove array size hacks for Rust < 1.47 https://github.com/rust-lang/libc/commit/27ee6fe02ca0848b2af3cd747536264e4c7b697d
- Remove repetitive words https://github.com/rust-lang/libc/commit/77de375891285e18a81616f7dceda6d52732eed6
- Use #[derive] for Copy/Clone in s! and friends #4038
- Use some tricks to format macro bodies #4107
- Apply formatting to macro bodies #4107
- Bump libc-test to Rust 2021 Edition #3905
- CI: Add a check that semver files don't contain duplicate entries #4087
- CI: Add
fanotify_event_info_fid
to FAM-exempt types #4038 - CI: Allow rustfmt to organize imports (#4136)
- CI: Always run rustfmt #4120
- CI: Change 32-bit Docker images to use EOL repos #4120
- CI: Change 64-bit Docker images to ubuntu:24.10 #4120
- CI: Disable the check for >1 s! invocation #4107
- CI: Ensure build channels get run even if FILTER is unset #4125
- CI: Ensure there is a fallback for no_std #4125
- CI: Fix cases where unset variables cause errors #4108
- CI: Naming adjustments and cleanup #4124
- CI: Only invoke rustup if running in CI #4107
- CI: Remove the logic to handle old rust versions #4068
- CI: Set -u (error on unset) in all script files #4108
- CI: add support for
loongarch64-unknown-linux-musl
#4092 - CI: make
aarch64-apple-darwin
not a nightly-only target #4068 - CI: run shellcheck on all scripts #4042
- CI: update musl headers to Linux 6.6 #3921
- CI: use qemu-sparc64 to run sparc64 tests #4133
- Drop the
libc_const_extern_fn
conditional https://github.com/rust-lang/libc/commit/674cc1f47f605038ef1aa2cce8e8bc9dac128276 - Drop the
libc_underscore_const_names
conditional https://github.com/rust-lang/libc/commit/f0febd5e2e50b38e05259d3afad3c9783711bcf0 - Explicitly set the edition to 2015 #4058
- Introduce a
git-blame-ignore-revs
file #4107 - Tests: Ignore fields as required on Ubuntu 24.10 #4120
- Tests: skip
ATF_*
constants for OpenBSD #4088 - Triagebot: Add an autolabel for CI #4052
0.2.164 - 2024-11-16
This release increases the MSRV of libc
to 1.63.
- CI: remove tests with rust < 1.63 #4051
- MSRV: document the MSRV of the stable channel to be 1.63 #4040
- MacOS: move ifconf to s_no_extra_traits #4051
0.2.163 - 2024-11-16
- Aix: add more
dlopen
flags #4044 - Android: add group calls #3499
- FreeBSD: add
TCP_FUNCTION_BLK
andTCP_FUNCTION_ALIAS
#4047 - Linux: add
confstr
#3612 - Solarish: add
aio
#4033 - Solarish: add
arc4random*
#3944
- Emscripten: upgrade emsdk to 3.1.68 #3962
- Hurd: use more standard types #3733
- Hurd: use the standard
ssize_t = isize
#4029 - Solaris: fix
confstr
anducontext_t
#4035
- CI: add Solaris #4035
- CI: add
i686-unknown-freebsd
#3997 - CI: ensure that calls to
sort
do not depend on locale #4026 - Specify
rust-version
inCargo.toml
#4041
0.2.162 - 2024-11-07
- Android: fix the alignment of
uc_mcontext
on arm64 #3894 - Apple: add
host_cpu_load_info
#3916 - ESP-IDF: add a time flag #3993
- FreeBSD: add the
CLOSE_RANGE_CLOEXEC
flag#3996 - FreeBSD: fix test errors regarding
__gregset_t
#3995 - FreeBSD: fix tests on x86 FreeBSD 15 #3948
- FreeBSD: make
ucontext_t
andmcontext_t
available on all architectures #3848 - Haiku: add
getentropy
#3991 - Illumos: add
syncfs
#3990 - Illumos: add some recently-added constants #3999
- Linux: add
ioctl
flags #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
- Emscripten: don't pass
-lc
#4002 - Hurd: change
st_fsid
field tost_dev
#3785 - Hurd: fix the definition of
utsname
#3992 - Illumos/Solaris: fix
FNM_CASEFOLD
definition #4004 - Solaris: fix all tests #3864
- CI: Add loongarch64 #4000
- CI: Check that semver files are sorted #4018
- CI: Re-enable the FreeBSD 15 job #3988
- Clean up imports and
extern crate
usage #3897 - Convert
mode_t
constants to octal #3634 - Remove the
wasm32-wasi
target that has been deleted upstream #4013
0.2.161 - 2024-10-17
- OpenBSD: fix
FNM_PATHNAME
andFNM_NOESCAPE
values #3983
0.2.160 - 2024-10-17
- Android: add
PR_GET_NAME
andPR_SET_NAME
#3941 - Apple: add
F_TRANSFEREXTENTS
#3925 - Apple: add
mach_error_string
#3913 - Apple: add additional
pthread
APIs #3846 - Apple: add the
LOCAL_PEERTOKEN
socket option #3929 - BSD: add
RTF_*
,RTA_*
,RTAX_*
, andRTM_*
definitions #3714 - Emscripten: add
AT_EACCESS
#3911 - Emscripten: add
getgrgid
,getgrnam
,getgrnam_r
andgetgrgid_r
#3912 - Emscripten: add
getpwnam_r
andgetpwuid_r
#3906 - FreeBSD: add
POLLRDHUP
#3936 - Haiku: add
arc4random
#3945 - Illumos: add
ptsname_r
#3867 - Linux: add
fanotify
interfaces #3695 - Linux: add
tcp_info
#3480 - Linux: add additional AF_PACKET options #3540
- Linux: make Elf constants always available #3938
- Musl x86: add
iopl
andioperm
#3720 - Musl: add
posix_spawn
chdir functions #3949 - Musl: add
utmpx.h
constants #3908 - NetBSD: add
sysctlnametomib
,CLOCK_THREAD_CPUTIME_ID
andCLOCK_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
- Redox: change
ino_t
to bec_ulonglong
#3919
0.2.159 - 2024-09-24
- 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
- Correctly handle version checks when
clippy-driver
is used #3893
- EspIdf: change signal constants to c_int in #3895
- HorizonOS: update network definitions in #3863
- Linux: combine
ioctl
APIs in #3722 - WASI: enable CI testing in #3869
- WASIp2: enable CI testing in #3870
0.2.158 - 2024-08-19
- WASI: fix missing
Iterator
withrustc-dep-of-std
in #3856 (comment)
0.2.157 - 2024-08-17
- 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
- TEEOS: fix octal notation for
O_*
constants in #3841
- FreeBSD: always use freebsd12 when
rustc_dep_of_std
is set in #3723
0.2.156 - 2024-08-15
- 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
- Apple: remove
rmx_state
in #3776
- Update or remove CI tests that have been failing