coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

chore(deps): update rust crate libc to v0.2.178

Open renovate[bot] opened this issue 3 months ago • 9 comments

This PR contains the following updates:

Package Type Update Change
libc workspace.dependencies patch 0.2.175 -> 0.2.178

Release Notes

rust-lang/libc (libc)

v0.2.178

Compare Source

Added
  • BSD: Add issetugid (#​4744)
  • Cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces (#​4827)
  • Linux s390x musl: Add __psw_t/fprefset_t/*context_t (#​4726)
  • Linux, Android: Add definition for IUCLC (#​4846)
  • Linux, FreeBSD: Add AT_HWCAP{3,4} (#​4734)
  • Linux: Add definitions from linux/can/bcm.h (#​4683)
  • Linux: Add syscalls 451-469 for m68k (#​4850)
  • Linux: PowerPC: Add 'ucontext.h' definitions (#​4696)
  • NetBSD: Define eventfd (#​4830)
  • Newlib: Add missing constants from unistd.h (#​4811)
  • QNX NTO: Add cfmakeraw (#​4704)
  • QNX NTO: Add cfsetspeed (#​4704)
  • Redox: Add getresgid and getresuid (#​4752)
  • Redox: Add setresgid and setresuid (#​4752)
  • VxWorks: Add definitions from select.h, stat.h, poll.h, ttycom.h, utsname.h, resource.h, mman.h, udp.h, in.h, in6.h, if.h, fnmatch.h, and sioLibCommon.h (#​4781)
  • VxWorks: Add missing defines/functions needed by rust stdlib (#​4779)
  • WASI: Add more definitions for libstd (#​4747)
Deprecated:
  • Apple: Deprecate TIOCREMOTE (#​4764)
Fixed:

Note that there were a large number of fixes on NetBSD for this libc release, some of which include minor breakage.

  • AIX: Change errno EWOULDBLOCK to make it an alias of EAGAIN (#​4790)
  • AIX: Resolve function comparison and unnecessary_transmutes warnings (#​4780)
  • Apple: Correct the value of SF_SETTABLE (#​4764)
  • DragonflyBSD: Fix the type of mcontext_t.mc_fpregs (#)
  • EspIDF: Fix the duplicate definition of gethostname (#​4773)
  • L4Re: Update available pthread API (#​4836)
  • Linux: Correct the value of NFT_MSG_MAX (#​4761)
  • Linux: Remove incorrect repr(align(8)) for canxl_frame (#​4760)
  • Make eventfd argument names match OS docs/headers (#​4830)
  • NetBSD: Account for upstream changes to ptrace with LWP (#​4782)
  • NetBSD: Correct ipc_perm, split from OpenBSD as ipc.rs (#​4782)
  • NetBSD: Correct a number of symbol link names (#​4782)
  • NetBSD: Correct the type of kinfo_vmentry.kve_path (#)
  • NetBSD: Fix uucred.cr_ngroups from int to short (#​4782)
  • NetBSD: Fix the type of kevent.udata (#​4782)
  • NetBSD: Fix the type of mcontext_t.__fpregs (#​4782)
  • NetBSD: Fix the value of PT_SUSPEND (#​4782)
  • NetBSD: Fix the values of FNM_* constants (#​4782)
  • NetBSD: Increase the size of sockaddr_dl.sdl_data from 12 to 24 (#​4782)
  • NetBSD: Introduce if_.rs, fix the definition of ifreq (#​4782)
  • NetBSD: Introduce time.rs, fix the values of CLOCK_*_CPUTIME_ID (#​4782)
  • NetBSD: Introduce timex.rs (#​4782)
  • NetBSD: Introduce types.rs, correct the definition of lwpid_t (#​4782)
  • NetBSD: Introduce utmp_.rs, correct the definition of lastlog (#​4782)
  • NetBSD: Introduce utmpx_.rs, correct utmpx definitions (#​4782)
  • NetBSD: Make _cpuset an extern type (#​4782)
  • NetBSD: RISC-V 64: Fix the mcontext types (#​4782)
  • Nuttx: Resolve warnings (#​4773)
  • OHOS: Don't emit duplicate lfs64 definitions (#​4804)
  • Redox: Fix the type of pid_t (#​4825)
  • WASI: Gate __wasilibc_register_preopened_fd (#​4837)
  • Wali: Fix unknown config (#​4773)
Changed
  • AIX: Declare field 'tv_nsec' of structure 'timespec' as 'i32' in both 32-bit and 64-bit modes (#​4750)
  • DragonFly: Avoid usage of thread_local (#​3653)
  • Linux: Update the definition for ucontext_t and unskip its tests (#​4760)
  • MinGW: Set L_tmpnam and TMP_MAX to the UCRT value (#​4566)
  • WASI: More closely align pthread type reprs (#​4747)
  • Simplify rustc-check-cfg emission in build.rs (#​4724)
  • Transition a number of definitions to the new source structure (internal change)
Removed
  • MIPS Musl: Remove rogue definition of SIGSTKFLT (#​4749)
  • NetBSD: Make statvfs.f_spare non-public (#​4782)
  • NetBSD: Remove BPF constants (#​4782)
  • NetBSD: Remove *_MAXID constants and AT_SUN_LDPGSIZE (#​4782)
  • NetBSD: Remove IFF_NOTRAILERS (#​4782)
  • NetBSD: Remove vm_size_t (#​4782)
  • NetBSD: Replace REG_ENOSYS with REG_ILLSEQ (#​4782)

v0.2.177

Compare Source

Added
  • Apple: Add TIOCGETA, TIOCSETA, TIOCSETAW, TIOCSETAF constants (#​4736)
  • Apple: Add pthread_cond_timedwait_relative_np (#​4719)
  • BSDs: Add _CS_PATH constant (#​4738)
  • Linux-like: Add SIGEMT for mips* and sparc* architectures (#​4730)
  • OpenBSD: Add elf_aux_info (#​4729)
  • Redox: Add more sysconf constants (#​4728)
  • Windows: Add wcsnlen (#​4721)
Changed
  • WASIP2: Invert conditional to include p2 APIs (#​4733)

v0.2.176

Compare Source

Support
  • The default FreeBSD version has been raised from 11 to 12. This matches rustc since 1.78. (#​2406)
  • Debug is now always implemented, rather than being gated behind the extra_traits feature. (#​4624)
Added
  • AIX: Restore some non-POSIX functions guarded by the _KERNEL macro. (#​4607)
  • FreeBSD 14: Add st_fileref to struct stat (#​4642)
  • Haiku: Add the accept4 POSIX call (#​4586)
  • Introduce a wrapper for representing padding (#​4632)
  • Linux: Add EM_RISCV (#​4659)
  • Linux: Add MS_NOSYMFOLLOW (#​4389)
  • Linux: Add backtrace_symbols(_fd) (#​4668)
  • Linux: Add missing SOL_PACKET optnames (#​4669)
  • Musl s390x: Add SYS_mseal (#​4549)
  • NuttX: Add __errno (#​4687)
  • Redox: Add dirfd, VDISABLE, and resource consts (#​4660)
  • Redox: Add more resource.h, fcntl.h constants (#​4666)
  • Redox: Enable strftime and mkostemp[s] (#​4629)
  • Unix, Windows: Add qsort_r (Unix), and qsort(_s) (Windows) (#​4677)
  • Unix: Add dlvsym for Linux-gnu, FreeBSD, and NetBSD (#​4671)
  • Unix: Add sigqueue (#​4620)
Changed
  • FreeBSD 15: Mark kinfo_proc as non-exhaustive (#​4553)
  • FreeBSD: Set the ELF symbol version for readdir_r (#​4694)
  • Linux: Correct the config for whether or not epoll_event is packed (#​4639)
  • Tests: Replace the old ctest with the much more reliable new implementation (#​4655 and many related PRs)
Fixed
  • AIX: Fix the type of the 4th arguement of getgrnam_r ([#​4656](#​4656
  • FreeBSD: Limit P_IDLEPROC to FreeBSD 15 (#​4640)
  • FreeBSD: Limit mcontext_t::mc_tlsbase to FreeBSD 15 (#​4640)
  • FreeBSD: Update gating of mcontext_t.mc_tlsbase (#​4703)
  • Musl s390x: Correct the definition of statfs[64] (#​4549)
  • Musl s390x: Make fpreg_t a union (#​4549)
  • Redox: Fix the types of gid_t and uid_t (#​4689)
  • Redox: Fix the value of MAP_FIXED (#​4684)
Deprecated
  • Apple: Correct the deprecated attribute for iconv (a97a0b53)
  • FreeBSD: Deprecate TIOCMGDTRWAIT and TIOCMSDTRWAIT (#​4685)
Removed
  • FreeBSD: Remove JAIL_{GET,SET}_MASK, _MC_FLAG_MASK (#​4691)

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 becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Sep 23 '25 12:09 renovate[bot]

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Sep 23 '25 12:09 github-actions[bot]

CodSpeed Performance Report

Merging #8717 will not alter performance

Comparing renovate/libc-0.x-lockfile (856fb4c) with main (a977c36)

Summary

✅ 127 untouched
⏩ 6 skipped[^skipped]

[^skipped]: 6 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

codspeed-hq[bot] avatar Sep 23 '25 13:09 codspeed-hq[bot]

GNU testsuite comparison:

Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Oct 09 '25 15:10 github-actions[bot]

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Oct 20 '25 08:10 github-actions[bot]

@cakebaker Would you update this crate? Arch might need new patch for this crate to fix stty crush.

oech3 avatar Nov 28 '25 15:11 oech3

0.2.178 was released

oech3 avatar Dec 02 '25 14:12 oech3

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/overlay-headers (fails in this run but passes in the 'main' branch)

github-actions[bot] avatar Dec 02 '25 18:12 github-actions[bot]

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Dec 03 '25 08:12 github-actions[bot]

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)

github-actions[bot] avatar Dec 10 '25 12:12 github-actions[bot]