2
Fork 0
Code Issues 1 Pull requests 2 Wiki Activity
Var Dump:
dumpVar: only available in dev mode
Mailing List

Update Rust crate libc to v0.2.172 #10

Open
renovate-bot wants to merge 1 commit from renovate/libc-0.x-lockfile into master
Collaborator

This PR contains the following updates:

Package Type Update Change
libc dependencies patch 0.2.158 -> 0.2.172

Release Notes

rust-lang/libc (libc)

v0.2.172

Compare Source

Added
  • Android: Add getauxval for 32-bit targets (#​4338)
  • Android: Add if_tun.h ioctls (#​4379)
  • Android: Define SO_BINDTOIFINDEX (#​4391)
  • Cygwin: Add posix_spawn_file_actions_add[f]chdir[_np] (#​4387)
  • Cygwin: Add new socket options (#​4350)
  • Cygwin: Add statfs & fcntl (#​4321)
  • FreeBSD: Add filedesc and fdescenttbl (#​4327)
  • Glibc: Add unstable support for _FILE_OFFSET_BITS=64 (#​4345)
  • Hermit: Add AF_UNSPEC (#​4344)
  • Hermit: Add AF_VSOCK (#​4344)
  • Illumos, NetBSD: Add timerfd APIs (#​4333)
  • Linux: Add _IO, _IOW, _IOR, _IOWR to the exported API (#​4325)
  • Linux: Add tcp_info to uClibc bindings (#​4347)
  • Linux: Add further BPF program flags (#​4356)
  • Linux: Add missing INPUT_PROP_XXX flags from input-event-codes.h (#​4326)
  • Linux: Add missing TLS bindings (#​4296)
  • Linux: Add more constants from seccomp.h (#​4330)
  • Linux: Add more glibc ptrace_sud_config and related PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG. (#​4386)
  • Linux: Add new netlink flags (#​4288)
  • Linux: Define ioctl codes on more architectures (#​4382)
  • Linux: Add missing pthread_attr_setstack (#​4349)
  • Musl: Add missing utmpx API (#​4332)
  • Musl: Enable getrandom on all platforms (#​4346)
  • NuttX: Add more signal constants (#​4353)
  • QNX: Add QNX 7.1-iosock and 8.0 to list of additional cfgs (#​4169)
  • QNX: Add support for alternative Neutrino network stack io-sock (#​4169)
  • Redox: Add more sys/socket.h and sys/uio.h definitions (#​4388)
  • Solaris: Temporarily define O_DIRECT and SIGINFO (#​4348)
  • Solarish: Add secure_getenv (#​4342)
  • VxWorks: Add missing d_type member to dirent (#​4352)
  • VxWorks: Add missing signal-related constsants (#​4352)
  • VxWorks: Add more error codes (#​4337)
Deprecated
  • FreeBSD: Deprecate TCP_PCAP_OUT and TCP_PCAP_IN (#​4381)
Fixed
  • Cygwin: Fix member types of statfs (#​4324)
  • Cygwin: Fix tests (#​4357)
  • Hermit: Make AF_INET = 3 (#​4344)
  • Musl: Fix the syscall table on RISC-V-32 (#​4335)
  • Musl: Fix the value of SA_ONSTACK on RISC-V-32 (#​4335)
  • VxWorks: Fix a typo in the waitpid parameter name (#​4334)
Removed
  • Musl: Remove O_FSYNC on RISC-V-32 (use O_SYNC instead) (#​4335)
  • Musl: Remove RTLD_DEEPBIND on RISC-V-32 (#​4335)
Other
  • CI: Add matrix env variables to the environment (#​4345)
  • CI: Always deny warnings (#​4363)
  • CI: Always upload successfully created artifacts (#​4345)
  • CI: Install musl from source for loongarch64 (#​4320)
  • CI: Revert "Also skip MFD_EXEC and MFD_NOEXEC_SEAL on sparc64" (#)
  • CI: Use $PWD instead of $(pwd) in run-docker (#​4345)
  • Solarish: Restrict openpty and forkpty polyfills to Illumos, replace Solaris implementation with bindings (#​4329)
  • Testing: Ensure the makedev test does not emit unused errors (#​4363)

v0.2.171

Compare Source

Added
  • Android: Add if_nameindex/if_freenameindex support (#​4247)
  • Apple: Add missing proc types and constants (#​4310)
  • BSD: Add devname (#​4285)
  • Cygwin: Add PTY and group API (#​4309)
  • Cygwin: Add support (#​4279)
  • FreeBSD: Make spawn.h interfaces available on all FreeBSD-like systems (#​4294)
  • Linux: Add AF_XDP structs for all Linux environments (#​4163)
  • Linux: Add SysV semaphore constants (#​4286)
  • Linux: Add F_SEAL_EXEC (#​4316)
  • Linux: Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET (#​3917)
  • Linux: Add devmem structs (#​4299)
  • Linux: Add socket constants up to SO_DEVMEM_DONTNEED (#​4299)
  • NetBSD, OpenBSD, DragonflyBSD: Add closefrom (#​4290)
  • NuttX: Add pw_passwd field to passwd (#​4222)
  • Solarish: define IP_BOUND_IF and IPV6_BOUND_IF (#​4287)
  • Wali: Add bindings for wasm32-wali-linux-musl target (#​4244)
Changed
  • AIX: Use sa_sigaction instead of a union (#​4250)
  • Make msqid_ds.__msg_cbytes public (#​4301)
  • Unix: Make all major, minor, makedev into const fn (#​4208)
Deprecated
  • Linux: Deprecate obsolete packet filter interfaces (#​4267)
Fixed
  • Cygwin: Fix strerror_r (#​4308)
  • Cygwin: Fix usage of f! (#​4308)
  • Hermit: Make stat::st_size signed (#​4298)
  • Linux: Correct values for SI_TIMER, SI_MESGQ, SI_ASYNCIO (#​4292)
  • NuttX: Update tm_zone and d_name fields to use c_char type (#​4222)
  • Xous: Include the prelude to define c_int (#​4304)
Other
Removed
  • NuttX: Remove pthread_set_name_np (#​4251)

v0.2.170

Compare Source

Added
  • Android: Declare setdomainname and getdomainname #​4212
  • FreeBSD: Add evdev structures #​3756
  • FreeBSD: Add the new st_filerev field to stat32 (#​4254)
  • Linux: Add SI_*`` and TRAP_*`` signal codes #​4225
  • Linux: Add experimental configuration to enable 64-bit time in kernel APIs, set by RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64. #​4148
  • Linux: Add recent socket timestamping flags #​4273
  • Linux: Added new CANFD_FDF flag for the flags field of canfd_frame #​4223
  • Musl: add CLONE_NEWTIME #​4226
  • Solarish: add the posix_spawn family of functions #​4259
Deprecated
  • Linux: deprecate kernel modules syscalls #​4228
Changed
  • Emscripten: Assume version is at least 3.1.42 #​4243
Fixed
  • BSD: Correct the definition of WEXITSTATUS #​4213
  • Hurd: Fix CMSG_DATA on 64bit systems (#​4240)
  • NetBSD: fix getmntinfo (#​4265
  • VxWorks: Fix the size of time_t #​426
Other
  • Add labels to FIXMEs #​4230, #​4229, #​4237
  • CI: Bump FreeBSD CI to 13.4 and 14.2 #​4260
  • Copy definitions from core::ffi and centralize them #​4256
  • Define c_char at top-level and remove per-target c_char definitions #​4202
  • Port style.rs to syn and add tests for the style checker #​4220

v0.2.169

Compare Source

Added
  • FreeBSD: add more socket TCP stack constants #​4193
  • Fuchsia: add a sockaddr_vm definition #​4194
Fixed

Breaking: rust-lang/rust#132975 corrected the signedness of core::ffi::c_char on various Tier 2 and Tier 3 platforms (mostly Arm and RISC-V) to match Clang. This release contains the corresponding changes to libc, including the following specific pull requests:

  • ESP-IDF: Replace arch-conditional c_char with a reexport #​4195
  • Fix c_char on various targets #​4199
  • Mirror c_char configuration from rust-lang/rust #​4198
Cleanup
  • Do not re-export c_void in target-specific code #​4200

v0.2.168

Compare Source

Added
Deprecated
  • FreeBSD: Deprecate the CAP_UNUSED* and CAP_ALL* constants (#​4183)
Fixed
  • Make the Debug implementation for unions opaque (#​4176)
Other
  • Allow the unpredictable_function_pointer_comparisons lint where needed #​4177
  • CI: Upload artifacts created by libc-test #​4180
  • CI: Use workflow commands to group output by target #​4179
  • CI: add caching #​4183

v0.2.167

Compare Source

Added
  • Solarish: add st_fstype to stat #​4145
  • Trusty: Add intptr_t and uintptr_t (#​4161)
Fixed
  • Fix the build with rustc-dep-of-std #​4158
  • Wasi: Add back unsafe block for clockid_t static variables (#​4157)
Cleanup
Other
  • 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
Removed
  • Remove one unused import after the edition 2021 bump

v0.2.166

Compare Source

Fixed

This release resolves two cases of unintentional breakage from the previous release:

  • Revert removal of array size hacks #​4150
  • Ensure const extern functions are always enabled #​4151

v0.2.165

Compare Source

Added
  • 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: remove if_family_id (#​4137))
  • Freebsd: add kcmp call support #​3746
  • Hurd: add MAP_32BIT and MAP_EXCL #​4127
  • Hurd: add domainname field to utsname (#​4089)
  • Linux GNU: add f_flags to struct statfs 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 most PTP_ 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 of can_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
Fixed
  • 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
Deprecated
  • Apple: deprecate iconv_open 25e022a
  • Apple: deprecate mach_task_self #​4095
  • Apple: update mach deprecation notices for things that were removed in main #​4097
Cleanup
  • 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 b5b553d
  • Drop the libc_cfg_target_vendor conditional #​4060
  • Drop the libc_const_size_of conditional 5a43dd2
  • 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 19c5937
  • Drop the libc_union conditional b9e4d80
  • 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 d63be8b
  • 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 27ee6fe
  • Remove repetitive words 77de375
  • Use #[derive] for Copy/Clone in s! and friends #​4038
  • Use some tricks to format macro bodies #​4107
Other
  • 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 674cc1f
  • Drop the libc_underscore_const_names conditional f0febd5
  • 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

v0.2.164

Compare Source

MSRV

This release increases the MSRV of libc to 1.63.

Other
  • 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

v0.2.163

Compare Source

Added
Changed
  • 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 and ucontext_t #​4035
Other
  • 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 in Cargo.toml #​4041

v0.2.162

Compare Source

Added
  • 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 and mcontext_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
Fixed
  • Emscripten: don't pass -lc #​4002
  • Hurd: change st_fsid field to st_dev #​3785
  • Hurd: fix the definition of utsname #​3992
  • Illumos/Solaris: fix FNM_CASEFOLD definition #​4004
  • Solaris: fix all tests #​3864
Other
  • 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

v0.2.161

Compare Source

Fixed
  • OpenBSD: fix FNM_PATHNAME and FNM_NOESCAPE values #​3983

v0.2.160

Compare Source

Added
  • Android: add PR_GET_NAME and PR_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_*, and RTM_* definitions #​3714
  • Emscripten: add AT_EACCESS #​3911
  • Emscripten: add getgrgid, getgrnam, getgrnam_r and getgrgid_r #​3912
  • Emscripten: add getpwnam_r and getpwuid_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 and ioperm #​3720
  • Musl: add posix_spawn chdir functions #​3949
  • Musl: add utmpx.h constants #​3908
  • NetBSD: add sysctlnametomib, CLOCK_THREAD_CPUTIME_ID and CLOCK_PROCESS_CPUTIME_ID #​3927
  • Nuttx: initial support #​3909
  • RTEMS: add getentropy #​3973
  • RTEMS: initial support #​3866
  • Solarish: add POLLRDHUP, POSIX_FADV_*, O_RSYNC, and posix_fallocate #​3936
  • Unix: add fnmatch.h #​3937
  • VxWorks: add riscv64 support #​3935
  • VxWorks: update constants related to the scheduler #​3963
Changed
  • Redox: change ino_t to be c_ulonglong #​3919
Fixed
  • ESP-IDF: fix mismatched constants and structs #​3920
  • FreeBSD: fix struct stat on FreeBSD 12+ #​3946
Other

v0.2.159

Compare Source

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 and recvmmsg in #​3831
  • Unix: add IN6ADDR_ANY_INIT and IN6ADDR_LOOPBACK_INIT in #​3693
  • VxWorks: add S_ISVTX in #​3768
  • VxWorks: add vxCpuLib and taskLib functions #​3861
  • WASIp2: add definitions for std::net support in #​3892
Fixed
  • Correctly handle version checks when clippy-driver is used #​3893
Changed
  • 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [libc](https://github.com/rust-lang/libc) | dependencies | patch | `0.2.158` -> `0.2.172` | --- ### Release Notes <details> <summary>rust-lang/libc (libc)</summary> ### [`v0.2.172`](https://github.com/rust-lang/libc/releases/tag/0.2.172) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.171...0.2.172) ##### Added - Android: Add `getauxval` for 32-bit targets ([#&#8203;4338](https://github.com/rust-lang/libc/pull/4338)) - Android: Add `if_tun.h` ioctls ([#&#8203;4379](https://github.com/rust-lang/libc/pull/4379)) - Android: Define `SO_BINDTOIFINDEX` ([#&#8203;4391](https://github.com/rust-lang/libc/pull/4391)) - Cygwin: Add `posix_spawn_file_actions_add[f]chdir[_np]` ([#&#8203;4387](https://github.com/rust-lang/libc/pull/4387)) - Cygwin: Add new socket options ([#&#8203;4350](https://github.com/rust-lang/libc/pull/4350)) - Cygwin: Add statfs & fcntl ([#&#8203;4321](https://github.com/rust-lang/libc/pull/4321)) - FreeBSD: Add `filedesc` and `fdescenttbl` ([#&#8203;4327](https://github.com/rust-lang/libc/pull/4327)) - Glibc: Add unstable support for \_FILE_OFFSET_BITS=64 ([#&#8203;4345](https://github.com/rust-lang/libc/pull/4345)) - Hermit: Add `AF_UNSPEC` ([#&#8203;4344](https://github.com/rust-lang/libc/pull/4344)) - Hermit: Add `AF_VSOCK` ([#&#8203;4344](https://github.com/rust-lang/libc/pull/4344)) - Illumos, NetBSD: Add `timerfd` APIs ([#&#8203;4333](https://github.com/rust-lang/libc/pull/4333)) - Linux: Add `_IO`, `_IOW`, `_IOR`, `_IOWR` to the exported API ([#&#8203;4325](https://github.com/rust-lang/libc/pull/4325)) - Linux: Add `tcp_info` to uClibc bindings ([#&#8203;4347](https://github.com/rust-lang/libc/pull/4347)) - Linux: Add further BPF program flags ([#&#8203;4356](https://github.com/rust-lang/libc/pull/4356)) - Linux: Add missing INPUT_PROP_XXX flags from `input-event-codes.h` ([#&#8203;4326](https://github.com/rust-lang/libc/pull/4326)) - Linux: Add missing TLS bindings ([#&#8203;4296](https://github.com/rust-lang/libc/pull/4296)) - Linux: Add more constants from `seccomp.h` ([#&#8203;4330](https://github.com/rust-lang/libc/pull/4330)) - Linux: Add more glibc `ptrace_sud_config` and related `PTRACE_*ET_SYSCALL_USER_DISPATCH_CONFIG`. ([#&#8203;4386](https://github.com/rust-lang/libc/pull/4386)) - Linux: Add new netlink flags ([#&#8203;4288](https://github.com/rust-lang/libc/pull/4288)) - Linux: Define ioctl codes on more architectures ([#&#8203;4382](https://github.com/rust-lang/libc/pull/4382)) - Linux: Add missing `pthread_attr_setstack` ([#&#8203;4349](https://github.com/rust-lang/libc/pull/4349)) - Musl: Add missing `utmpx` API ([#&#8203;4332](https://github.com/rust-lang/libc/pull/4332)) - Musl: Enable `getrandom` on all platforms ([#&#8203;4346](https://github.com/rust-lang/libc/pull/4346)) - NuttX: Add more signal constants ([#&#8203;4353](https://github.com/rust-lang/libc/pull/4353)) - QNX: Add QNX 7.1-iosock and 8.0 to list of additional cfgs ([#&#8203;4169](https://github.com/rust-lang/libc/pull/4169)) - QNX: Add support for alternative Neutrino network stack `io-sock` ([#&#8203;4169](https://github.com/rust-lang/libc/pull/4169)) - Redox: Add more `sys/socket.h` and `sys/uio.h` definitions ([#&#8203;4388](https://github.com/rust-lang/libc/pull/4388)) - Solaris: Temporarily define `O_DIRECT` and `SIGINFO` ([#&#8203;4348](https://github.com/rust-lang/libc/pull/4348)) - Solarish: Add `secure_getenv` ([#&#8203;4342](https://github.com/rust-lang/libc/pull/4342)) - VxWorks: Add missing `d_type` member to `dirent` ([#&#8203;4352](https://github.com/rust-lang/libc/pull/4352)) - VxWorks: Add missing signal-related constsants ([#&#8203;4352](https://github.com/rust-lang/libc/pull/4352)) - VxWorks: Add more error codes ([#&#8203;4337](https://github.com/rust-lang/libc/pull/4337)) ##### Deprecated - FreeBSD: Deprecate `TCP_PCAP_OUT` and `TCP_PCAP_IN` ([#&#8203;4381](https://github.com/rust-lang/libc/pull/4381)) ##### Fixed - Cygwin: Fix member types of `statfs` ([#&#8203;4324](https://github.com/rust-lang/libc/pull/4324)) - Cygwin: Fix tests ([#&#8203;4357](https://github.com/rust-lang/libc/pull/4357)) - Hermit: Make `AF_INET = 3` ([#&#8203;4344](https://github.com/rust-lang/libc/pull/4344)) - Musl: Fix the syscall table on RISC-V-32 ([#&#8203;4335](https://github.com/rust-lang/libc/pull/4335)) - Musl: Fix the value of `SA_ONSTACK` on RISC-V-32 ([#&#8203;4335](https://github.com/rust-lang/libc/pull/4335)) - VxWorks: Fix a typo in the `waitpid` parameter name ([#&#8203;4334](https://github.com/rust-lang/libc/pull/4334)) ##### Removed - Musl: Remove `O_FSYNC` on RISC-V-32 (use `O_SYNC` instead) ([#&#8203;4335](https://github.com/rust-lang/libc/pull/4335)) - Musl: Remove `RTLD_DEEPBIND` on RISC-V-32 ([#&#8203;4335](https://github.com/rust-lang/libc/pull/4335)) ##### Other - CI: Add matrix env variables to the environment ([#&#8203;4345](https://github.com/rust-lang/libc/pull/4345)) - CI: Always deny warnings ([#&#8203;4363](https://github.com/rust-lang/libc/pull/4363)) - CI: Always upload successfully created artifacts ([#&#8203;4345](https://github.com/rust-lang/libc/pull/4345)) - CI: Install musl from source for loongarch64 ([#&#8203;4320](https://github.com/rust-lang/libc/pull/4320)) - CI: Revert "Also skip `MFD_EXEC` and `MFD_NOEXEC_SEAL` on sparc64" ([#]()) - CI: Use `$PWD` instead of `$(pwd)` in run-docker ([#&#8203;4345](https://github.com/rust-lang/libc/pull/4345)) - Solarish: Restrict `openpty` and `forkpty` polyfills to Illumos, replace Solaris implementation with bindings ([#&#8203;4329](https://github.com/rust-lang/libc/pull/4329)) - Testing: Ensure the makedev test does not emit unused errors ([#&#8203;4363](https://github.com/rust-lang/libc/pull/4363)) ### [`v0.2.171`](https://github.com/rust-lang/libc/releases/tag/0.2.171) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.170...0.2.171) ##### Added - Android: Add `if_nameindex`/`if_freenameindex` support ([#&#8203;4247](https://github.com/rust-lang/libc/pull/4247)) - Apple: Add missing proc types and constants ([#&#8203;4310](https://github.com/rust-lang/libc/pull/4310)) - BSD: Add `devname` ([#&#8203;4285](https://github.com/rust-lang/libc/pull/4285)) - Cygwin: Add PTY and group API ([#&#8203;4309](https://github.com/rust-lang/libc/pull/4309)) - Cygwin: Add support ([#&#8203;4279](https://github.com/rust-lang/libc/pull/4279)) - FreeBSD: Make `spawn.h` interfaces available on all FreeBSD-like systems ([#&#8203;4294](https://github.com/rust-lang/libc/pull/4294)) - Linux: Add `AF_XDP` structs for all Linux environments ([#&#8203;4163](https://github.com/rust-lang/libc/pull/4163)) - Linux: Add SysV semaphore constants ([#&#8203;4286](https://github.com/rust-lang/libc/pull/4286)) - Linux: Add `F_SEAL_EXEC` ([#&#8203;4316](https://github.com/rust-lang/libc/pull/4316)) - Linux: Add `SO_PREFER_BUSY_POLL` and `SO_BUSY_POLL_BUDGET` ([#&#8203;3917](https://github.com/rust-lang/libc/pull/3917)) - Linux: Add `devmem` structs ([#&#8203;4299](https://github.com/rust-lang/libc/pull/4299)) - Linux: Add socket constants up to `SO_DEVMEM_DONTNEED` ([#&#8203;4299](https://github.com/rust-lang/libc/pull/4299)) - NetBSD, OpenBSD, DragonflyBSD: Add `closefrom` ([#&#8203;4290](https://github.com/rust-lang/libc/pull/4290)) - NuttX: Add `pw_passwd` field to `passwd` ([#&#8203;4222](https://github.com/rust-lang/libc/pull/4222)) - Solarish: define `IP_BOUND_IF` and `IPV6_BOUND_IF` ([#&#8203;4287](https://github.com/rust-lang/libc/pull/4287)) - Wali: Add bindings for `wasm32-wali-linux-musl` target ([#&#8203;4244](https://github.com/rust-lang/libc/pull/4244)) ##### Changed - AIX: Use `sa_sigaction` instead of a union ([#&#8203;4250](https://github.com/rust-lang/libc/pull/4250)) - Make `msqid_ds.__msg_cbytes` public ([#&#8203;4301](https://github.com/rust-lang/libc/pull/4301)) - Unix: Make all `major`, `minor`, `makedev` into `const fn` ([#&#8203;4208](https://github.com/rust-lang/libc/pull/4208)) ##### Deprecated - Linux: Deprecate obsolete packet filter interfaces ([#&#8203;4267](https://github.com/rust-lang/libc/pull/4267)) ##### Fixed - Cygwin: Fix strerror_r ([#&#8203;4308](https://github.com/rust-lang/libc/pull/4308)) - Cygwin: Fix usage of f! ([#&#8203;4308](https://github.com/rust-lang/libc/pull/4308)) - Hermit: Make `stat::st_size` signed ([#&#8203;4298](https://github.com/rust-lang/libc/pull/4298)) - Linux: Correct values for `SI_TIMER`, `SI_MESGQ`, `SI_ASYNCIO` ([#&#8203;4292](https://github.com/rust-lang/libc/pull/4292)) - NuttX: Update `tm_zone` and `d_name` fields to use `c_char` type ([#&#8203;4222](https://github.com/rust-lang/libc/pull/4222)) - Xous: Include the prelude to define `c_int` ([#&#8203;4304](https://github.com/rust-lang/libc/pull/4304)) ##### Other - Add labels to FIXMEs ([#&#8203;4231](https://github.com/rust-lang/libc/pull/4231), [#&#8203;4232](https://github.com/rust-lang/libc/pull/4232), [#&#8203;4234](https://github.com/rust-lang/libc/pull/4234), [#&#8203;4235](https://github.com/rust-lang/libc/pull/4235), [#&#8203;4236](https://github.com/rust-lang/libc/pull/4236)) - CI: Fix "cannot find libc" error on Sparc64 ([#&#8203;4317](https://github.com/rust-lang/libc/pull/4317)) - CI: Fix "cannot find libc" error on s390x ([#&#8203;4317](https://github.com/rust-lang/libc/pull/4317)) - CI: Pass `--no-self-update` to `rustup update` ([#&#8203;4306](https://github.com/rust-lang/libc/pull/4306)) - CI: Remove tests for the `i586-pc-windows-msvc` target ([#&#8203;4311](https://github.com/rust-lang/libc/pull/4311)) - CI: Remove the `check_cfg` job ([#&#8203;4322](https://github.com/rust-lang/libc/pull/4312)) - Change the range syntax that is giving `ctest` problems ([#&#8203;4311](https://github.com/rust-lang/libc/pull/4311)) - Linux: Split out the stat struct for gnu/b32/mips ([#&#8203;4276](https://github.com/rust-lang/libc/pull/4276)) ##### Removed - NuttX: Remove `pthread_set_name_np` ([#&#8203;4251](https://github.com/rust-lang/libc/pull/4251)) ### [`v0.2.170`](https://github.com/rust-lang/libc/releases/tag/0.2.170) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.169...0.2.170) ##### Added - Android: Declare `setdomainname` and `getdomainname` [#&#8203;4212](https://github.com/rust-lang/libc/pull/4212) - FreeBSD: Add `evdev` structures [#&#8203;3756](https://github.com/rust-lang/libc/pull/3756) - FreeBSD: Add the new `st_filerev` field to `stat32` ([#&#8203;4254](https://github.com/rust-lang/libc/pull/4254)) - Linux: Add ` SI_*`` and `TRAP_\*\`\` signal codes [#&#8203;4225](https://github.com/rust-lang/libc/pull/4225) - Linux: Add experimental configuration to enable 64-bit time in kernel APIs, set by `RUST_LIBC_UNSTABLE_LINUX_TIME_BITS64`. [#&#8203;4148](https://github.com/rust-lang/libc/pull/4148) - Linux: Add recent socket timestamping flags [#&#8203;4273](https://github.com/rust-lang/libc/pull/4273) - Linux: Added new CANFD_FDF flag for the flags field of canfd_frame [#&#8203;4223](https://github.com/rust-lang/libc/pull/4223) - Musl: add CLONE_NEWTIME [#&#8203;4226](https://github.com/rust-lang/libc/pull/4226) - Solarish: add the posix_spawn family of functions [#&#8203;4259](https://github.com/rust-lang/libc/pull/4259) ##### Deprecated - Linux: deprecate kernel modules syscalls [#&#8203;4228](https://github.com/rust-lang/libc/pull/4228) ##### Changed - Emscripten: Assume version is at least 3.1.42 [#&#8203;4243](https://github.com/rust-lang/libc/pull/4243) ##### Fixed - BSD: Correct the definition of `WEXITSTATUS` [#&#8203;4213](https://github.com/rust-lang/libc/pull/4213) - Hurd: Fix CMSG_DATA on 64bit systems ([#&#8203;4240](https://github.com/rust-lang/libc/pull/424)) - NetBSD: fix `getmntinfo` ([#&#8203;4265](https://github.com/rust-lang/libc/pull/4265) - VxWorks: Fix the size of `time_t` [#&#8203;426](https://github.com/rust-lang/libc/pull/426) ##### Other - Add labels to FIXMEs [#&#8203;4230](https://github.com/rust-lang/libc/pull/4230), [#&#8203;4229](https://github.com/rust-lang/libc/pull/4229), [#&#8203;4237](https://github.com/rust-lang/libc/pull/4237) - CI: Bump FreeBSD CI to 13.4 and 14.2 [#&#8203;4260](https://github.com/rust-lang/libc/pull/4260) - Copy definitions from core::ffi and centralize them [#&#8203;4256](https://github.com/rust-lang/libc/pull/4256) - Define c_char at top-level and remove per-target c_char definitions [#&#8203;4202](https://github.com/rust-lang/libc/pull/4202) - Port style.rs to syn and add tests for the style checker [#&#8203;4220](https://github.com/rust-lang/libc/pull/4220) ### [`v0.2.169`](https://github.com/rust-lang/libc/releases/tag/0.2.169) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.168...0.2.169) ##### Added - FreeBSD: add more socket TCP stack constants [#&#8203;4193](https://github.com/rust-lang/libc/pull/4193) - Fuchsia: add a `sockaddr_vm` definition [#&#8203;4194](https://github.com/rust-lang/libc/pull/4194) ##### Fixed **Breaking**: [rust-lang/rust#132975](https://github.com/rust-lang/rust/pull/132975) corrected the signedness of `core::ffi::c_char` on various Tier 2 and Tier 3 platforms (mostly Arm and RISC-V) to match Clang. This release contains the corresponding changes to `libc`, including the following specific pull requests: - ESP-IDF: Replace arch-conditional `c_char` with a reexport [#&#8203;4195](https://github.com/rust-lang/libc/pull/4195) - Fix `c_char` on various targets [#&#8203;4199](https://github.com/rust-lang/libc/pull/4199) - Mirror `c_char` configuration from `rust-lang/rust` [#&#8203;4198](https://github.com/rust-lang/libc/pull/4198) ##### Cleanup - Do not re-export `c_void` in target-specific code [#&#8203;4200](https://github.com/rust-lang/libc/pull/4200) ### [`v0.2.168`](https://github.com/rust-lang/libc/releases/tag/0.2.168) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.167...0.2.168) ##### Added - Linux: Add new process flags ([#&#8203;4174](https://github.com/rust-lang/libc/pull/4174)) - Linux: Make `IFA_*` constants available on all Linux targets [#&#8203;4185](https://github.com/rust-lang/libc/pull/4185) - Linux: add `MAP_DROPPABLE` [#&#8203;4173](https://github.com/rust-lang/libc/pull/4173) - Solaris, Illumos: add `SIGRTMIN` and `SIGRTMAX` [#&#8203;4171](https://github.com/rust-lang/libc/pull/4171) - Unix, Linux: adding POSIX `memccpy` and `mempcpy` GNU extension \<https://github.com/rust-lang/libc/pull/4186. ##### Deprecated - FreeBSD: Deprecate the CAP_UNUSED\* and CAP_ALL\* constants ([#&#8203;4183](https://github.com/rust-lang/libc/pull/4183)) ##### Fixed - Make the `Debug` implementation for unions opaque ([#&#8203;4176](https://github.com/rust-lang/libc/pull/4176)) ##### Other - Allow the `unpredictable_function_pointer_comparisons` lint where needed [#&#8203;4177](https://github.com/rust-lang/libc/pull/4177) - CI: Upload artifacts created by libc-test [#&#8203;4180](https://github.com/rust-lang/libc/pull/4180) - CI: Use workflow commands to group output by target [#&#8203;4179](https://github.com/rust-lang/libc/pull/4179) - CI: add caching [#&#8203;4183](https://github.com/rust-lang/libc/pull/4183) ### [`v0.2.167`](https://github.com/rust-lang/libc/releases/tag/0.2.167) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.166...0.2.167) ##### Added - Solarish: add `st_fstype` to `stat` [#&#8203;4145](https://github.com/rust-lang/libc/pull/4145) - Trusty: Add `intptr_t` and `uintptr_t` ([#&#8203;4161](https://github.com/rust-lang/libc/pull/4161)) ##### Fixed - Fix the build with `rustc-dep-of-std` [#&#8203;4158](https://github.com/rust-lang/libc/pull/4158) - Wasi: Add back unsafe block for `clockid_t` static variables ([#&#8203;4157](https://github.com/rust-lang/libc/pull/4157)) ##### Cleanup - Create an internal prelude [#&#8203;4161](https://github.com/rust-lang/libc/pull/4161) - Fix `unused_qualifications`[#&#8203;4132](https://github.com/rust-lang/libc/pull/4132) ##### Other - CI: Check various FreeBSD versions ([#&#8203;4159](https://github.com/rust-lang/libc/pull/4159)) - CI: add a timeout for all jobs [#&#8203;4164](https://github.com/rust-lang/libc/pull/4164) - CI: verify MSRV for `wasm32-wasi` [#&#8203;4157](https://github.com/rust-lang/libc/pull/4157) - Migrate to the 2021 edition [#&#8203;4132](https://github.com/rust-lang/libc/pull/4132) ##### Removed - Remove one unused import after the edition 2021 bump ### [`v0.2.166`](https://github.com/rust-lang/libc/releases/tag/0.2.166) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.165...0.2.166) ##### Fixed This release resolves two cases of unintentional breakage from the previous release: - Revert removal of array size hacks [#&#8203;4150](https://github.com/rust-lang/libc/pull/4150) - Ensure `const extern` functions are always enabled [#&#8203;4151](https://github.com/rust-lang/libc/pull/4151) ### [`v0.2.165`](https://github.com/rust-lang/libc/releases/tag/0.2.165) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.164...0.2.165) ##### Added - Android: add `mkostemp`, `mkostemps` [#&#8203;3601](https://github.com/rust-lang/libc/pull/3601) - Android: add a few API 30 calls [#&#8203;3604](https://github.com/rust-lang/libc/pull/3604) - Android: add missing syscall constants [#&#8203;3558](https://github.com/rust-lang/libc/pull/3558) - Apple: add `in6_ifreq` [#&#8203;3617](https://github.com/rust-lang/libc/pull/3617) - Apple: add missing `sysctl` net types [#&#8203;4022](https://github.com/rust-lang/libc/pull/4022) (before release: remove `if_family_id` ([#&#8203;4137](https://github.com/rust-lang/libc/pull/4137))) - Freebsd: add `kcmp` call support [#&#8203;3746](https://github.com/rust-lang/libc/pull/3746) - Hurd: add `MAP_32BIT` and `MAP_EXCL` [#&#8203;4127](https://github.com/rust-lang/libc/pull/4127) - Hurd: add `domainname` field to `utsname` ([#&#8203;4089](https://github.com/rust-lang/libc/pull/4089)) - Linux GNU: add `f_flags` to struct `statfs` for arm, mips, powerpc and x86 [#&#8203;3663](https://github.com/rust-lang/libc/pull/3663) - Linux GNU: add `malloc_stats` [#&#8203;3596](https://github.com/rust-lang/libc/pull/3596) - Linux: add ELF relocation-related structs [#&#8203;3583](https://github.com/rust-lang/libc/pull/3583) - Linux: add `ptp_*` structs [#&#8203;4113](https://github.com/rust-lang/libc/pull/4113) - Linux: add `ptp_clock_caps` [#&#8203;4128](https://github.com/rust-lang/libc/pull/4128) - Linux: add `ptp_pin_function` and most `PTP_` constants [#&#8203;4114](https://github.com/rust-lang/libc/pull/4114) - Linux: add missing AF_XDP structs & constants [#&#8203;3956](https://github.com/rust-lang/libc/pull/3956) - Linux: add missing netfilter consts ([#&#8203;3734](https://github.com/rust-lang/libc/pull/3734)) - Linux: add struct and constants for the `mount_setattr` syscall [#&#8203;4046](https://github.com/rust-lang/libc/pull/4046) - Linux: add wireless API [#&#8203;3441](https://github.com/rust-lang/libc/pull/3441) - Linux: expose the `len8_dlc` field of `can_frame` [#&#8203;3357](https://github.com/rust-lang/libc/pull/3357) - Musl: add `utmpx` API [#&#8203;3213](https://github.com/rust-lang/libc/pull/3213) - Musl: add missing syscall constants [#&#8203;4028](https://github.com/rust-lang/libc/pull/4028) - NetBSD: add `mcontext`-related data for RISCV64 [#&#8203;3468](https://github.com/rust-lang/libc/pull/3468) - Redox: add new `netinet` constants [#&#8203;3586](https://github.com/rust-lang/libc/pull/3586)) - Solarish: add `_POSIX_VDISABLE` ([#&#8203;4103](https://github.com/rust-lang/libc/pull/4103)) - Tests: Add a test that the `const extern fn` macro works [#&#8203;4134](https://github.com/rust-lang/libc/pull/4134) - Tests: Add test of primitive types against `std` [#&#8203;3616](https://github.com/rust-lang/libc/pull/3616) - Unix: Add `htonl`, `htons`, `ntohl`, `ntohs` [#&#8203;3669](https://github.com/rust-lang/libc/pull/3669) - Unix: add `aligned_alloc` [#&#8203;3843](https://github.com/rust-lang/libc/pull/3843) - Windows: add `aligned_realloc` [#&#8203;3592](https://github.com/rust-lang/libc/pull/3592) ##### Fixed - **breaking** Hurd: fix `MAP_HASSEMAPHORE` name ([#&#8203;4127](https://github.com/rust-lang/libc/pull/4127)) - **breaking** ulibc Mips: fix `SA_*` mismatched types ([#&#8203;3211](https://github.com/rust-lang/libc/pull/3211)) - Aix: fix an enum FFI safety warning [#&#8203;3644](https://github.com/rust-lang/libc/pull/3644) - Haiku: fix some typos ([#&#8203;3664](https://github.com/rust-lang/libc/pull/3664)) - Tests: fix `Elf{32,64}_Relr`-related tests [#&#8203;3647](https://github.com/rust-lang/libc/pull/3647) - Tests: fix libc-tests for `loongarch64-linux-musl` - Tests: fix some clippy warnings [#&#8203;3855](https://github.com/rust-lang/libc/pull/3855) - Tests: fix tests on `riscv64gc-unknown-freebsd` [#&#8203;4129](https://github.com/rust-lang/libc/pull/4129) ##### Deprecated - Apple: deprecate `iconv_open` [`25e022a`](https://github.com/rust-lang/libc/commit/25e022a22eca3634166ef472b748c297e60fcf7f) - Apple: deprecate `mach_task_self` [#&#8203;4095](https://github.com/rust-lang/libc/pull/4095) - Apple: update `mach` deprecation notices for things that were removed in `main` [#&#8203;4097](https://github.com/rust-lang/libc/pull/4097) ##### Cleanup - Adjust the `f!` macro to be more flexible [#&#8203;4107](https://github.com/rust-lang/libc/pull/4107) - Aix: remove duplicate constants [#&#8203;3643](https://github.com/rust-lang/libc/pull/3643) - CI: make scripts more uniform [#&#8203;4042](https://github.com/rust-lang/libc/pull/4042) - Drop the `libc_align` conditional [`b5b553d`](https://github.com/rust-lang/libc/commit/b5b553d0ee7de0d4781432a9a9a0a6445dd7f34f) - Drop the `libc_cfg_target_vendor` conditional [#&#8203;4060](https://github.com/rust-lang/libc/pull/4060) - Drop the `libc_const_size_of` conditional [`5a43dd2`](https://github.com/rust-lang/libc/commit/5a43dd2754366f99b3a83881b30246ce0e51833c) - Drop the `libc_core_cvoid` conditional [#&#8203;4060](https://github.com/rust-lang/libc/pull/4060) - Drop the `libc_int128` conditional [#&#8203;4060](https://github.com/rust-lang/libc/pull/4060) - Drop the `libc_non_exhaustive` conditional [#&#8203;4060](https://github.com/rust-lang/libc/pull/4060) - Drop the `libc_packedN` conditional [#&#8203;4060](https://github.com/rust-lang/libc/pull/4060) - Drop the `libc_priv_mod_use` conditional [`19c5937`](https://github.com/rust-lang/libc/commit/19c59376d11b015009fb9b04f233a30a1bf50a91) - Drop the `libc_union` conditional [`b9e4d80`](https://github.com/rust-lang/libc/commit/b9e4d8012f612dfe24147da3e69522763f92b6e3) - Drop the `long_array` conditional [#&#8203;4096](https://github.com/rust-lang/libc/pull/4096) - Drop the `ptr_addr_of` conditional [#&#8203;4065](https://github.com/rust-lang/libc/pull/4065) - Drop warnings about deprecated cargo features [#&#8203;4060](https://github.com/rust-lang/libc/pull/4060) - Eliminate uses of `struct_formatter` [#&#8203;4074](https://github.com/rust-lang/libc/pull/4074) - Fix a few other array size hacks [`d63be8b`](https://github.com/rust-lang/libc/commit/d63be8b69b0736753213f5d933767866a5801ee7) - Glibc: remove redundant definitions ([#&#8203;3261](https://github.com/rust-lang/libc/pull/3261)) - Musl: remove redundant definitions ([#&#8203;3261](https://github.com/rust-lang/libc/pull/3261)) - Musl: unify definitions of `siginfo_t` ([#&#8203;3261](https://github.com/rust-lang/libc/pull/3261)) - Musl: unify definitions of statfs and statfs64 ([#&#8203;3261](https://github.com/rust-lang/libc/pull/3261)) - Musl: unify definitions of statvfs and statvfs64 ([#&#8203;3261](https://github.com/rust-lang/libc/pull/3261)) - Musl: unify statx definitions ([#&#8203;3978](https://github.com/rust-lang/libc/pull/3978)) - Remove array size hacks for Rust < 1.47 [`27ee6fe`](https://github.com/rust-lang/libc/commit/27ee6fe02ca0848b2af3cd747536264e4c7b697d) - Remove repetitive words [`77de375`](https://github.com/rust-lang/libc/commit/77de375891285e18a81616f7dceda6d52732eed6) - Use #\[derive] for Copy/Clone in s! and friends [#&#8203;4038](https://github.com/rust-lang/libc/pull/4038) - Use some tricks to format macro bodies [#&#8203;4107](https://github.com/rust-lang/libc/pull/4107) ##### Other - Apply formatting to macro bodies [#&#8203;4107](https://github.com/rust-lang/libc/pull/4107) - Bump libc-test to Rust 2021 Edition [#&#8203;3905](https://github.com/rust-lang/libc/pull/3905) - CI: Add a check that semver files don't contain duplicate entries [#&#8203;4087](https://github.com/rust-lang/libc/pull/4087) - CI: Add `fanotify_event_info_fid` to FAM-exempt types [#&#8203;4038](https://github.com/rust-lang/libc/pull/4038) - CI: Allow rustfmt to organize imports ([#&#8203;4136](https://github.com/rust-lang/libc/pull/4136)) - CI: Always run rustfmt [#&#8203;4120](https://github.com/rust-lang/libc/pull/4120) - CI: Change 32-bit Docker images to use EOL repos [#&#8203;4120](https://github.com/rust-lang/libc/pull/4120) - CI: Change 64-bit Docker images to ubuntu:24.10 [#&#8203;4120](https://github.com/rust-lang/libc/pull/4120) - CI: Disable the check for >1 s! invocation [#&#8203;4107](https://github.com/rust-lang/libc/pull/4107) - CI: Ensure build channels get run even if FILTER is unset [#&#8203;4125](https://github.com/rust-lang/libc/pull/4125) - CI: Ensure there is a fallback for no_std [#&#8203;4125](https://github.com/rust-lang/libc/pull/4125) - CI: Fix cases where unset variables cause errors [#&#8203;4108](https://github.com/rust-lang/libc/pull/4108) - CI: Naming adjustments and cleanup [#&#8203;4124](https://github.com/rust-lang/libc/pull/4124) - CI: Only invoke rustup if running in CI [#&#8203;4107](https://github.com/rust-lang/libc/pull/4107) - CI: Remove the logic to handle old rust versions [#&#8203;4068](https://github.com/rust-lang/libc/pull/4068) - CI: Set -u (error on unset) in all script files [#&#8203;4108](https://github.com/rust-lang/libc/pull/4108) - CI: add support for `loongarch64-unknown-linux-musl` [#&#8203;4092](https://github.com/rust-lang/libc/pull/4092) - CI: make `aarch64-apple-darwin` not a nightly-only target [#&#8203;4068](https://github.com/rust-lang/libc/pull/4068) - CI: run shellcheck on all scripts [#&#8203;4042](https://github.com/rust-lang/libc/pull/4042) - CI: update musl headers to Linux 6.6 [#&#8203;3921](https://github.com/rust-lang/libc/pull/3921) - CI: use qemu-sparc64 to run sparc64 tests [#&#8203;4133](https://github.com/rust-lang/libc/pull/4133) - Drop the `libc_const_extern_fn` conditional [`674cc1f`](https://github.com/rust-lang/libc/commit/674cc1f47f605038ef1aa2cce8e8bc9dac128276) - Drop the `libc_underscore_const_names` conditional [`f0febd5`](https://github.com/rust-lang/libc/commit/f0febd5e2e50b38e05259d3afad3c9783711bcf0) - Explicitly set the edition to 2015 [#&#8203;4058](https://github.com/rust-lang/libc/pull/4058) - Introduce a `git-blame-ignore-revs` file [#&#8203;4107](https://github.com/rust-lang/libc/pull/4107) - Tests: Ignore fields as required on Ubuntu 24.10 [#&#8203;4120](https://github.com/rust-lang/libc/pull/4120) - Tests: skip `ATF_*` constants for OpenBSD [#&#8203;4088](https://github.com/rust-lang/libc/pull/4088) - Triagebot: Add an autolabel for CI [#&#8203;4052](https://github.com/rust-lang/libc/pull/4052) ### [`v0.2.164`](https://github.com/rust-lang/libc/blob/HEAD/CHANGELOG.md#02164---2024-11-16) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.163...0.2.164) ##### MSRV This release increases the MSRV of `libc` to 1.63. ##### Other - CI: remove tests with rust < 1.63 [#&#8203;4051](https://github.com/rust-lang/libc/pull/4051) - MSRV: document the MSRV of the stable channel to be 1.63 [#&#8203;4040](https://github.com/rust-lang/libc/pull/4040) - MacOS: move ifconf to s_no_extra_traits [#&#8203;4051](https://github.com/rust-lang/libc/pull/4051) ### [`v0.2.163`](https://github.com/rust-lang/libc/blob/HEAD/CHANGELOG.md#02163---2024-11-16) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.162...0.2.163) ##### Added - Aix: add more `dlopen` flags [#&#8203;4044](https://github.com/rust-lang/libc/pull/4044) - Android: add group calls [#&#8203;3499](https://github.com/rust-lang/libc/pull/3499) - FreeBSD: add `TCP_FUNCTION_BLK` and `TCP_FUNCTION_ALIAS` [#&#8203;4047](https://github.com/rust-lang/libc/pull/4047) - Linux: add `confstr` [#&#8203;3612](https://github.com/rust-lang/libc/pull/3612) - Solarish: add `aio` [#&#8203;4033](https://github.com/rust-lang/libc/pull/4033) - Solarish: add `arc4random*` [#&#8203;3944](https://github.com/rust-lang/libc/pull/3944) ##### Changed - Emscripten: upgrade emsdk to 3.1.68 [#&#8203;3962](https://github.com/rust-lang/libc/pull/3962) - Hurd: use more standard types [#&#8203;3733](https://github.com/rust-lang/libc/pull/3733) - Hurd: use the standard `ssize_t = isize` [#&#8203;4029](https://github.com/rust-lang/libc/pull/4029) - Solaris: fix `confstr` and `ucontext_t` [#&#8203;4035](https://github.com/rust-lang/libc/pull/4035) ##### Other - CI: add Solaris [#&#8203;4035](https://github.com/rust-lang/libc/pull/4035) - CI: add `i686-unknown-freebsd` [#&#8203;3997](https://github.com/rust-lang/libc/pull/3997) - CI: ensure that calls to `sort` do not depend on locale [#&#8203;4026](https://github.com/rust-lang/libc/pull/4026) - Specify `rust-version` in `Cargo.toml` [#&#8203;4041](https://github.com/rust-lang/libc/pull/4041) ### [`v0.2.162`](https://github.com/rust-lang/libc/blob/HEAD/CHANGELOG.md#02162---2024-11-07) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162) ##### Added - Android: fix the alignment of `uc_mcontext` on arm64 [#&#8203;3894](https://github.com/rust-lang/libc/pull/3894) - Apple: add `host_cpu_load_info` [#&#8203;3916](https://github.com/rust-lang/libc/pull/3916) - ESP-IDF: add a time flag [#&#8203;3993](https://github.com/rust-lang/libc/pull/3993) - FreeBSD: add the `CLOSE_RANGE_CLOEXEC` flag[#&#8203;3996](https://github.com/rust-lang/libc/pull/3996) - FreeBSD: fix test errors regarding `__gregset_t` [#&#8203;3995](https://github.com/rust-lang/libc/pull/3995) - FreeBSD: fix tests on x86 FreeBSD 15 [#&#8203;3948](https://github.com/rust-lang/libc/pull/3948) - FreeBSD: make `ucontext_t` and `mcontext_t` available on all architectures [#&#8203;3848](https://github.com/rust-lang/libc/pull/3848) - Haiku: add `getentropy` [#&#8203;3991](https://github.com/rust-lang/libc/pull/3991) - Illumos: add `syncfs` [#&#8203;3990](https://github.com/rust-lang/libc/pull/3990) - Illumos: add some recently-added constants [#&#8203;3999](https://github.com/rust-lang/libc/pull/3999) - Linux: add `ioctl` flags [#&#8203;3960](https://github.com/rust-lang/libc/pull/3960) - Linux: add epoll busy polling parameters [#&#8203;3922](https://github.com/rust-lang/libc/pull/3922) - NuttX: add `pthread_[get/set]name_np` [#&#8203;4003](https://github.com/rust-lang/libc/pull/4003) - RTEMS: add `arc4random_buf` [#&#8203;3989](https://github.com/rust-lang/libc/pull/3989) - Trusty OS: add initial support [#&#8203;3942](https://github.com/rust-lang/libc/pull/3942) - WASIp2: expand socket support [#&#8203;3981](https://github.com/rust-lang/libc/pull/3981) ##### Fixed - Emscripten: don't pass `-lc` [#&#8203;4002](https://github.com/rust-lang/libc/pull/4002) - Hurd: change `st_fsid` field to `st_dev` [#&#8203;3785](https://github.com/rust-lang/libc/pull/3785) - Hurd: fix the definition of `utsname` [#&#8203;3992](https://github.com/rust-lang/libc/pull/3992) - Illumos/Solaris: fix `FNM_CASEFOLD` definition [#&#8203;4004](https://github.com/rust-lang/libc/pull/4004) - Solaris: fix all tests [#&#8203;3864](https://github.com/rust-lang/libc/pull/3864) ##### Other - CI: Add loongarch64 [#&#8203;4000](https://github.com/rust-lang/libc/pull/4000) - CI: Check that semver files are sorted [#&#8203;4018](https://github.com/rust-lang/libc/pull/4018) - CI: Re-enable the FreeBSD 15 job [#&#8203;3988](https://github.com/rust-lang/libc/pull/3988) - Clean up imports and `extern crate` usage [#&#8203;3897](https://github.com/rust-lang/libc/pull/3897) - Convert `mode_t` constants to octal [#&#8203;3634](https://github.com/rust-lang/libc/pull/3634) - Remove the `wasm32-wasi` target that has been deleted upstream [#&#8203;4013](https://github.com/rust-lang/libc/pull/4013) ### [`v0.2.161`](https://github.com/rust-lang/libc/blob/HEAD/CHANGELOG.md#02161---2024-10-17) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.160...0.2.161) ##### Fixed - OpenBSD: fix `FNM_PATHNAME` and `FNM_NOESCAPE` values [#&#8203;3983](https://github.com/rust-lang/libc/pull/3983) ### [`v0.2.160`](https://github.com/rust-lang/libc/blob/HEAD/CHANGELOG.md#02160---2024-10-17) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.159...0.2.160) ##### Added - Android: add `PR_GET_NAME` and `PR_SET_NAME` [#&#8203;3941](https://github.com/rust-lang/libc/pull/3941) - Apple: add `F_TRANSFEREXTENTS` [#&#8203;3925](https://github.com/rust-lang/libc/pull/3925) - Apple: add `mach_error_string` [#&#8203;3913](https://github.com/rust-lang/libc/pull/3913) - Apple: add additional `pthread` APIs [#&#8203;3846](https://github.com/rust-lang/libc/pull/3846) - Apple: add the `LOCAL_PEERTOKEN` socket option [#&#8203;3929](https://github.com/rust-lang/libc/pull/3929) - BSD: add `RTF_*`, `RTA_*`, `RTAX_*`, and `RTM_*` definitions [#&#8203;3714](https://github.com/rust-lang/libc/pull/3714) - Emscripten: add `AT_EACCESS` [#&#8203;3911](https://github.com/rust-lang/libc/pull/3911) - Emscripten: add `getgrgid`, `getgrnam`, `getgrnam_r` and `getgrgid_r` [#&#8203;3912](https://github.com/rust-lang/libc/pull/3912) - Emscripten: add `getpwnam_r` and `getpwuid_r` [#&#8203;3906](https://github.com/rust-lang/libc/pull/3906) - FreeBSD: add `POLLRDHUP` [#&#8203;3936](https://github.com/rust-lang/libc/pull/3936) - Haiku: add `arc4random` [#&#8203;3945](https://github.com/rust-lang/libc/pull/3945) - Illumos: add `ptsname_r` [#&#8203;3867](https://github.com/rust-lang/libc/pull/3867) - Linux: add `fanotify` interfaces [#&#8203;3695](https://github.com/rust-lang/libc/pull/3695) - Linux: add `tcp_info` [#&#8203;3480](https://github.com/rust-lang/libc/pull/3480) - Linux: add additional AF_PACKET options [#&#8203;3540](https://github.com/rust-lang/libc/pull/3540) - Linux: make Elf constants always available [#&#8203;3938](https://github.com/rust-lang/libc/pull/3938) - Musl x86: add `iopl` and `ioperm` [#&#8203;3720](https://github.com/rust-lang/libc/pull/3720) - Musl: add `posix_spawn` chdir functions [#&#8203;3949](https://github.com/rust-lang/libc/pull/3949) - Musl: add `utmpx.h` constants [#&#8203;3908](https://github.com/rust-lang/libc/pull/3908) - NetBSD: add `sysctlnametomib`, `CLOCK_THREAD_CPUTIME_ID` and `CLOCK_PROCESS_CPUTIME_ID` [#&#8203;3927](https://github.com/rust-lang/libc/pull/3927) - Nuttx: initial support [#&#8203;3909](https://github.com/rust-lang/libc/pull/3909) - RTEMS: add `getentropy` [#&#8203;3973](https://github.com/rust-lang/libc/pull/3973) - RTEMS: initial support [#&#8203;3866](https://github.com/rust-lang/libc/pull/3866) - Solarish: add `POLLRDHUP`, `POSIX_FADV_*`, `O_RSYNC`, and `posix_fallocate` [#&#8203;3936](https://github.com/rust-lang/libc/pull/3936) - Unix: add `fnmatch.h` [#&#8203;3937](https://github.com/rust-lang/libc/pull/3937) - VxWorks: add riscv64 support [#&#8203;3935](https://github.com/rust-lang/libc/pull/3935) - VxWorks: update constants related to the scheduler [#&#8203;3963](https://github.com/rust-lang/libc/pull/3963) ##### Changed - Redox: change `ino_t` to be `c_ulonglong` [#&#8203;3919](https://github.com/rust-lang/libc/pull/3919) ##### Fixed - ESP-IDF: fix mismatched constants and structs [#&#8203;3920](https://github.com/rust-lang/libc/pull/3920) - FreeBSD: fix `struct stat` on FreeBSD 12+ [#&#8203;3946](https://github.com/rust-lang/libc/pull/3946) ##### Other - CI: Fix CI for FreeBSD 15 [#&#8203;3950](https://github.com/rust-lang/libc/pull/3950) - Docs: link to `windows-sys` [#&#8203;3915](https://github.com/rust-lang/libc/pull/3915) ### [`v0.2.159`](https://github.com/rust-lang/libc/blob/HEAD/CHANGELOG.md#02159---2024-09-24) [Compare Source](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159) ##### Added - Android: add more `AT_*` constants in [#&#8203;3779](https://github.com/rust-lang/libc/pull/3779) - Apple: add missing `NOTE_*` constants in [#&#8203;3883](https://github.com/rust-lang/libc/pull/3883) - Hermit: add missing error numbers in [#&#8203;3858](https://github.com/rust-lang/libc/pull/3858) - Hurd: add `__timeval` for 64-bit support in [#&#8203;3786](https://github.com/rust-lang/libc/pull/3786) - Linux: add `epoll_pwait2` in [#&#8203;3868](https://github.com/rust-lang/libc/pull/3868) - Linux: add `mq_notify` in [#&#8203;3849](https://github.com/rust-lang/libc/pull/3849) - Linux: add missing `NFT_CT_*` constants in [#&#8203;3844](https://github.com/rust-lang/libc/pull/3844) - Linux: add the `fchmodat2` syscall in [#&#8203;3588](https://github.com/rust-lang/libc/pull/3588) - Linux: add the `mseal` syscall in [#&#8203;3798](https://github.com/rust-lang/libc/pull/3798) - OpenBSD: add `sendmmsg` and `recvmmsg` in [#&#8203;3831](https://github.com/rust-lang/libc/pull/3831) - Unix: add `IN6ADDR_ANY_INIT` and `IN6ADDR_LOOPBACK_INIT` in [#&#8203;3693](https://github.com/rust-lang/libc/pull/3693) - VxWorks: add `S_ISVTX` in [#&#8203;3768](https://github.com/rust-lang/libc/pull/3768) - VxWorks: add `vxCpuLib` and `taskLib` functions [#&#8203;3861](https://github.com/rust-lang/libc/pull/3861) - WASIp2: add definitions for `std::net` support in [#&#8203;3892](https://github.com/rust-lang/libc/pull/3892) ##### Fixed - Correctly handle version checks when `clippy-driver` is used [#&#8203;3893](https://github.com/rust-lang/libc/pull/3893) ##### Changed - EspIdf: change signal constants to c_int in [#&#8203;3895](https://github.com/rust-lang/libc/pull/3895) - HorizonOS: update network definitions in [#&#8203;3863](https://github.com/rust-lang/libc/pull/3863) - Linux: combine `ioctl` APIs in [#&#8203;3722](https://github.com/rust-lang/libc/pull/3722) - WASI: enable CI testing in [#&#8203;3869](https://github.com/rust-lang/libc/pull/3869) - WASIp2: enable CI testing in [#&#8203;3870](https://github.com/rust-lang/libc/pull/3870) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate-bot added 1 commit 2025-04-11 16:13:28 +02:00
renovate-bot force-pushed renovate/libc-0.x-lockfile from ba0e74312a to ae05066408 2025-04-15 06:31:08 +02:00 Compare
renovate-bot changed title from Update Rust crate libc to v0.2.171 to Update Rust crate libc to v0.2.172 2025-04-15 06:31:08 +02:00
Some required checks are missing.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/libc-0.x-lockfile:renovate/libc-0.x-lockfile
git checkout renovate/libc-0.x-lockfile
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bitsquid_dt/dt-plugin-template#10
No description provided.