| { | ||
| "git": { | ||
| "sha1": "3831e59feb28cdf00a80b2c5ca85af47b1659fb3" | ||
| "sha1": "e6082ef26096154e08ab0cb094d66d5ca116ee15" | ||
| }, | ||
| "path_in_vcs": "" | ||
| } |
+1
-1
@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| name = "libc" | ||
| version = "0.2.167" | ||
| version = "0.2.168" | ||
| authors = ["The Rust Project Developers"] | ||
@@ -19,0 +19,0 @@ build = "build.rs" |
+26
-0
| # Changelog | ||
| ## [Unreleased] | ||
| ## [0.2.168](https://github.com/rust-lang/libc/compare/0.2.167...0.2.168) - 2024-12-09 | ||
| ### Added | ||
| - Linux: Add new process flags ([#4174](https://github.com/rust-lang/libc/pull/4174)) | ||
| - Linux: Make `IFA_*` constants available on all Linux targets <https://github.com/rust-lang/libc/pull/4185> | ||
| - Linux: add `MAP_DROPPABLE` <https://github.com/rust-lang/libc/pull/4173> | ||
| - Solaris, Illumos: add `SIGRTMIN` and `SIGRTMAX` <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 ([#4183](https://github.com/rust-lang/libc/pull/4183)) | ||
| ### Fixed | ||
| - Make the `Debug` implementation for unions opaque ([#4176](https://github.com/rust-lang/libc/pull/4176)) | ||
| ### Other | ||
| - Allow the `unpredictable_function_pointer_comparisons` lint where needed <https://github.com/rust-lang/libc/pull/4177> | ||
| - CI: Upload artifacts created by libc-test <https://github.com/rust-lang/libc/pull/4180> | ||
| - CI: Use workflow commands to group output by target <https://github.com/rust-lang/libc/pull/4179> | ||
| - CI: add caching <https://github.com/rust-lang/libc/pull/4183> | ||
| ## [0.2.167](https://github.com/rust-lang/libc/compare/0.2.166...0.2.167) - 2024-11-28 | ||
@@ -5,0 +31,0 @@ |
+7
-0
@@ -162,2 +162,9 @@ /// A macro for defining #[cfg] if-else statements. | ||
| } | ||
| #[cfg(feature = "extra_traits")] | ||
| impl ::core::fmt::Debug for $i { | ||
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | ||
| f.debug_struct(::core::stringify!($i)).finish_non_exhaustive() | ||
| } | ||
| } | ||
| ); | ||
@@ -164,0 +171,0 @@ |
@@ -359,10 +359,2 @@ use crate::off_t; | ||
| impl Eq for _kernel_simple_lock {} | ||
| impl fmt::Debug for _kernel_simple_lock { | ||
| fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||
| f.debug_struct("_kernel_simple_lock") | ||
| .field("_slock", unsafe { &self._slock }) | ||
| .field("_slockp", unsafe { &self._slockp }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl hash::Hash for _kernel_simple_lock { | ||
@@ -479,11 +471,2 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { | ||
| impl Eq for __ld_info_file {} | ||
| impl fmt::Debug for __ld_info_file { | ||
| fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||
| f.debug_struct("__ld_info_file") | ||
| .field("_ldinfo_fd", unsafe { &self._ldinfo_fd }) | ||
| .field("_ldinfo_fp", unsafe { &self._ldinfo_fp }) | ||
| .field("_core_offset", unsafe { &self._core_offset }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl hash::Hash for __ld_info_file { | ||
@@ -549,11 +532,2 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { | ||
| impl Eq for __pollfd_ext_u {} | ||
| impl fmt::Debug for __pollfd_ext_u { | ||
| fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||
| f.debug_struct("__pollfd_ext_u") | ||
| .field("addr", unsafe { &self.addr }) | ||
| .field("data32", unsafe { &self.data32 }) | ||
| .field("data", unsafe { &self.data }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl hash::Hash for __pollfd_ext_u { | ||
@@ -560,0 +534,0 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { |
@@ -241,2 +241,4 @@ use crate::prelude::*; | ||
| // FIXME(msrv): suggested method was added in 1.85 | ||
| #[allow(unpredictable_function_pointer_comparisons)] | ||
| impl PartialEq for __c_anonymous_elf64_auxv_union { | ||
@@ -252,9 +254,2 @@ fn eq(&self, other: &__c_anonymous_elf64_auxv_union) -> bool { | ||
| impl Eq for __c_anonymous_elf64_auxv_union {} | ||
| impl fmt::Debug for __c_anonymous_elf64_auxv_union { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| f.debug_struct("a_val") | ||
| .field("a_val", unsafe { &self.a_val }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl PartialEq for Elf64_Auxinfo { | ||
@@ -261,0 +256,0 @@ fn eq(&self, other: &Elf64_Auxinfo) -> bool { |
@@ -57,15 +57,2 @@ use crate::prelude::*; | ||
| impl Eq for __c_anonymous__freg {} | ||
| impl fmt::Debug for __c_anonymous__freg { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| unsafe { | ||
| f.debug_struct("__c_anonymous__freg") | ||
| .field("__b8", &self.__b8) | ||
| .field("__h16", &self.__h16) | ||
| .field("__s32", &self.__s32) | ||
| .field("__d64", &self.__d64) | ||
| .field("__q128", &self.__q128) | ||
| .finish() | ||
| } | ||
| } | ||
| } | ||
| impl hash::Hash for __c_anonymous__freg { | ||
@@ -72,0 +59,0 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { |
@@ -22,3 +22,2 @@ use PT_FIRSTMACH; | ||
| s_no_extra_traits! { | ||
| #[cfg_attr(feature = "extra_traits", allow(missing_debug_implementations))] | ||
| pub union __fpreg { | ||
@@ -25,0 +24,0 @@ pub u_u64: u64, |
@@ -504,16 +504,2 @@ use crate::off_t; | ||
| impl Eq for cpuid_info {} | ||
| impl fmt::Debug for cpuid_info { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| unsafe { | ||
| f.debug_struct("cpuid_info") | ||
| .field("eax_0", &self.eax_0) | ||
| .field("eax_1", &self.eax_1) | ||
| .field("eax_2", &self.eax_2) | ||
| .field("eax_3", &self.eax_3) | ||
| .field("as_chars", &self.as_chars) | ||
| .field("regs", &self.regs) | ||
| .finish() | ||
| } | ||
| } | ||
| } | ||
@@ -530,13 +516,2 @@ impl PartialEq for __c_anonymous_cpu_topology_info_data { | ||
| impl Eq for __c_anonymous_cpu_topology_info_data {} | ||
| impl fmt::Debug for __c_anonymous_cpu_topology_info_data { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| unsafe { | ||
| f.debug_struct("__c_anonymous_cpu_topology_info_data") | ||
| .field("root", &self.root) | ||
| .field("package", &self.package) | ||
| .field("core", &self.core) | ||
| .finish() | ||
| } | ||
| } | ||
| } | ||
@@ -543,0 +518,0 @@ impl PartialEq for cpu_topology_node_info { |
@@ -90,9 +90,2 @@ use crate::prelude::*; | ||
| impl Eq for __c_anonymous_uc_sigmask {} | ||
| impl fmt::Debug for __c_anonymous_uc_sigmask { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| f.debug_struct("uc_sigmask") | ||
| .field("uc_sigmask", unsafe { &self.uc_sigmask }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl hash::Hash for __c_anonymous_uc_sigmask { | ||
@@ -99,0 +92,0 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { |
@@ -92,9 +92,2 @@ use crate::prelude::*; | ||
| impl Eq for __c_anonymous_uc_sigmask {} | ||
| impl fmt::Debug for __c_anonymous_uc_sigmask { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| f.debug_struct("uc_sigmask") | ||
| .field("uc_sigmask", unsafe { &self.uc_sigmask }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl hash::Hash for __c_anonymous_uc_sigmask { | ||
@@ -101,0 +94,0 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { |
@@ -131,9 +131,2 @@ use crate::off64_t; | ||
| impl Eq for __c_anonymous_uc_sigmask {} | ||
| impl fmt::Debug for __c_anonymous_uc_sigmask { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| f.debug_struct("uc_sigmask") | ||
| .field("uc_sigmask", unsafe { &self.uc_sigmask }) | ||
| .finish() | ||
| } | ||
| } | ||
| impl hash::Hash for __c_anonymous_uc_sigmask { | ||
@@ -140,0 +133,0 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { |
@@ -215,3 +215,2 @@ //! RISC-V-specific definitions for 32-bit linux-like values | ||
| #[allow(missing_debug_implementations)] | ||
| pub union __riscv_mc_fp_state { | ||
@@ -218,0 +217,0 @@ pub __f: __riscv_mc_f_ext_state, |
@@ -267,3 +267,2 @@ //! RISC-V-specific definitions for 64-bit linux-like values | ||
| #[allow(missing_debug_implementations)] | ||
| pub union __riscv_mc_fp_state { | ||
@@ -270,0 +269,0 @@ pub __f: __riscv_mc_f_ext_state, |
@@ -1038,10 +1038,2 @@ use crate::off64_t; | ||
| // linux/if_addr.h | ||
| pub const IFA_FLAGS: c_ushort = 8; | ||
| pub const IFA_F_MANAGETEMPADDR: u32 = 0x100; | ||
| pub const IFA_F_NOPREFIXROUTE: u32 = 0x200; | ||
| pub const IFA_F_MCAUTOJOIN: u32 = 0x400; | ||
| pub const IFA_F_STABLE_PRIVACY: u32 = 0x800; | ||
| pub const MAX_LINKS: c_int = 32; | ||
@@ -1551,2 +1543,4 @@ | ||
| ) -> c_int; | ||
| pub fn mempcpy(dest: *mut c_void, src: *const c_void, n: size_t) -> *mut c_void; | ||
| } | ||
@@ -1553,0 +1547,0 @@ |
@@ -106,3 +106,2 @@ //! RISC-V-specific definitions for 64-bit linux-like values | ||
| #[allow(missing_debug_implementations)] | ||
| pub union __riscv_mc_fp_state { | ||
@@ -109,0 +108,0 @@ pub __f: __riscv_mc_f_ext_state, |
+1
-0
@@ -684,2 +684,3 @@ //! Definitions found commonly among almost all Unix derivatives | ||
| pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; | ||
| pub fn memccpy(dest: *mut c_void, src: *const c_void, c: c_int, n: size_t) -> *mut c_void; | ||
| } | ||
@@ -686,0 +687,0 @@ |
@@ -104,14 +104,2 @@ use crate::prelude::*; | ||
| impl fmt::Debug for x86_64_fpu_registers { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| unsafe { | ||
| f.debug_struct("x86_64_fpu_registers") | ||
| .field("fsave_area", &self.fsave_area) | ||
| .field("fxsave_area", &self.fxsave_area) | ||
| .field("xsave_area", &self.xsave_area) | ||
| .finish() | ||
| } | ||
| } | ||
| } | ||
| impl hash::Hash for x86_64_fpu_registers { | ||
@@ -118,0 +106,0 @@ fn hash<H: hash::Hasher>(&self, state: &mut H) { |
@@ -68,3 +68,2 @@ use crate::prelude::*; | ||
| #[cfg_attr(feature = "extra_traits", allow(missing_debug_implementations))] | ||
| pub union door_desc_t__d_data { | ||
@@ -71,0 +70,0 @@ pub d_desc: door_desc_t__d_data__d_desc, |
@@ -113,12 +113,2 @@ use crate::prelude::*; | ||
| impl Eq for __c_anonymous_fp_reg_set {} | ||
| impl fmt::Debug for __c_anonymous_fp_reg_set { | ||
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
| unsafe { | ||
| f.debug_struct("__c_anonymous_fp_reg_set") | ||
| .field("fpchip_state", &{ self.fpchip_state }) | ||
| .field("f_fpregs", &{ self.f_fpregs }) | ||
| .finish() | ||
| } | ||
| } | ||
| } | ||
| impl PartialEq for fpregset_t { | ||
@@ -125,0 +115,0 @@ fn eq(&self, other: &fpregset_t) -> bool { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display