trisquel-icecat/icecat/third_party/rust/libc/CHANGELOG.md
2025-10-06 02:35:48 -06:00

30 KiB

Changelog

[Unreleased]

0.2.171 - 2025-03-11

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

  • Add labels to FIXMEs (#4231, #4232, #4234, #4235, #4236)
  • CI: Fix "cannot find libc" error on Sparc64 (#4317)
  • CI: Fix "cannot find libc" error on s390x (#4317)
  • CI: Pass --no-self-update to rustup update (#4306)
  • CI: Remove tests for the i586-pc-windows-msvc target (#4311)
  • CI: Remove the check_cfg job (#4322)
  • Change the range syntax that is giving ctest problems (#4311)
  • Linux: Split out the stat struct for gnu/b32/mips (#4276)

Removed

  • NuttX: Remove pthread_set_name_np (#4251)

0.2.170 - 2025-02-23

Added

Deprecated

Changed

Fixed

Other

0.2.169 - 2024-12-18

Added

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:

Cleanup

0.2.168 - 2024-12-09

Added

Deprecated

  • FreeBSD: Deprecate the CAP_UNUSED* and CAP_ALL* constants (#4183)

Fixed

  • Make the Debug implementation for unions opaque (#4176)

Other

0.2.167 - 2024-11-28

Added

Fixed

Cleanup

Other

Removed

  • Remove one unused import after the edition 2021 bump

0.2.166 - 2024-11-26

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

0.2.165 - 2024-11-25

Added

Fixed

Deprecated

Cleanup

Other

0.2.164 - 2024-11-16

MSRV

This release increases the MSRV of libc to 1.63.

Other

0.2.163 - 2024-11-16

Added

Changed

Other

0.2.162 - 2024-11-07

Added

Fixed

Other

0.2.161 - 2024-10-17

Fixed

0.2.160 - 2024-10-17

Added

Changed

Fixed

Other

0.2.159 - 2024-09-24

Added

Fixed

Changed

0.2.158 - 2024-08-19

Other

0.2.157 - 2024-08-17

Added

Fixed

Changed

0.2.156 - 2024-08-15

Added

Fixed

Changed

Removed

Other

  • Update or remove CI tests that have been failing