cargo libc 0.2.165

latest releases: 0.2.167, 0.2.166
3 days ago

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

Don't miss a new libc release

NewReleases is sending notifications on new releases.