Skip to content

Commit 115b56e

Browse files
authored
Update Rust crate libc to 0.2.178 (#2814)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [libc](https://redirect.github.com/rust-lang/libc) | workspace.dependencies | patch | `0.2.177` -> `0.2.178` | --- ### Release Notes <details> <summary>rust-lang/libc (libc)</summary> ### [`v0.2.178`](https://redirect.github.com/rust-lang/libc/releases/tag/0.2.178) [Compare Source](https://redirect.github.com/rust-lang/libc/compare/0.2.177...0.2.178) ##### Added - BSD: Add `issetugid` ([#&#8203;4744](https://redirect.github.com/rust-lang/libc/pull/4744)) - Cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces ([#&#8203;4827](https://redirect.github.com/rust-lang/libc/pull/4827)) - Linux s390x musl: Add `__psw_t`/`fprefset_t`/`*context_t` ([#&#8203;4726](https://redirect.github.com/rust-lang/libc/pull/4726)) - Linux, Android: Add definition for IUCLC ([#&#8203;4846](https://redirect.github.com/rust-lang/libc/pull/4846)) - Linux, FreeBSD: Add `AT_HWCAP{3,4}` ([#&#8203;4734](https://redirect.github.com/rust-lang/libc/pull/4734)) - Linux: Add definitions from linux/can/bcm.h ([#&#8203;4683](https://redirect.github.com/rust-lang/libc/pull/4683)) - Linux: Add syscalls 451-469 for m68k ([#&#8203;4850](https://redirect.github.com/rust-lang/libc/pull/4850)) - Linux: PowerPC: Add 'ucontext.h' definitions ([#&#8203;4696](https://redirect.github.com/rust-lang/libc/pull/4696)) - NetBSD: Define `eventfd` ([#&#8203;4830](https://redirect.github.com/rust-lang/libc/pull/4830)) - Newlib: Add missing constants from `unistd.h` ([#&#8203;4811](https://redirect.github.com/rust-lang/libc/pull/4811)) - QNX NTO: Add `cfmakeraw` ([#&#8203;4704](https://redirect.github.com/rust-lang/libc/pull/4704)) - QNX NTO: Add `cfsetspeed` ([#&#8203;4704](https://redirect.github.com/rust-lang/libc/pull/4704)) - Redox: Add `getresgid` and `getresuid` ([#&#8203;4752](https://redirect.github.com/rust-lang/libc/pull/4752)) - Redox: Add `setresgid` and `setresuid` ([#&#8203;4752](https://redirect.github.com/rust-lang/libc/pull/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` ([#&#8203;4781](https://redirect.github.com/rust-lang/libc/pull/4781)) - VxWorks: Add missing defines/functions needed by rust stdlib ([#&#8203;4779](https://redirect.github.com/rust-lang/libc/pull/4779)) - WASI: Add more definitions for libstd ([#&#8203;4747](https://redirect.github.com/rust-lang/libc/pull/4747)) ##### Deprecated: - Apple: Deprecate `TIOCREMOTE` ([#&#8203;4764](https://redirect.github.com/rust-lang/libc/pull/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` ([#&#8203;4790](https://redirect.github.com/rust-lang/libc/pull/4790)) - AIX: Resolve function comparison and `unnecessary_transmutes` warnings ([#&#8203;4780](https://redirect.github.com/rust-lang/libc/pull/4780)) - Apple: Correct the value of `SF_SETTABLE` ([#&#8203;4764](https://redirect.github.com/rust-lang/libc/pull/4764)) - DragonflyBSD: Fix the type of `mcontext_t.mc_fpregs` ([#]()) - EspIDF: Fix the duplicate definition of `gethostname` ([#&#8203;4773](https://redirect.github.com/rust-lang/libc/pull/4773)) - L4Re: Update available pthread API ([#&#8203;4836](https://redirect.github.com/rust-lang/libc/pull/4836)) - Linux: Correct the value of `NFT_MSG_MAX` ([#&#8203;4761](https://redirect.github.com/rust-lang/libc/pull/4761)) - Linux: Remove incorrect `repr(align(8))` for `canxl_frame` ([#&#8203;4760](https://redirect.github.com/rust-lang/libc/pull/4760)) - Make `eventfd` argument names match OS docs/headers ([#&#8203;4830](https://redirect.github.com/rust-lang/libc/pull/4830)) - NetBSD: Account for upstream changes to ptrace with LWP ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Correct `ipc_perm`, split from OpenBSD as `ipc.rs` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Correct a number of symbol link names ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Correct the type of `kinfo_vmentry.kve_path` ([#]()) - NetBSD: Fix `uucred.cr_ngroups` from `int` to `short` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Fix the type of `kevent.udata` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Fix the type of `mcontext_t.__fpregs` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Fix the value of `PT_SUSPEND` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Fix the values of FNM\_\* constants ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Increase the size of `sockaddr_dl.sdl_data` from 12 to 24 ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Introduce `if_.rs`, fix the definition of `ifreq` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Introduce `time.rs`, fix the values of `CLOCK_*_CPUTIME_ID` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Introduce `timex.rs` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Introduce `types.rs`, correct the definition of `lwpid_t` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Introduce `utmp_.rs`, correct the definition of `lastlog` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Introduce `utmpx_.rs`, correct utmpx definitions ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Make `_cpuset` an extern type ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: RISC-V 64: Fix the `mcontext` types ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - Nuttx: Resolve warnings ([#&#8203;4773](https://redirect.github.com/rust-lang/libc/pull/4773)) - OHOS: Don't emit duplicate lfs64 definitions ([#&#8203;4804](https://redirect.github.com/rust-lang/libc/pull/4804)) - Redox: Fix the type of `pid_t` ([#&#8203;4825](https://redirect.github.com/rust-lang/libc/pull/4825)) - WASI: Gate `__wasilibc_register_preopened_fd` ([#&#8203;4837](https://redirect.github.com/rust-lang/libc/pull/4837)) - Wali: Fix unknown config ([#&#8203;4773](https://redirect.github.com/rust-lang/libc/pull/4773)) ##### Changed - AIX: Declare field 'tv\_nsec' of structure 'timespec' as 'i32' in both 32-bit and 64-bit modes ([#&#8203;4750](https://redirect.github.com/rust-lang/libc/pull/4750)) - DragonFly: Avoid usage of `thread_local` ([#&#8203;3653](https://redirect.github.com/rust-lang/libc/pull/3653)) - Linux: Update the definition for `ucontext_t` and unskip its tests ([#&#8203;4760](https://redirect.github.com/rust-lang/libc/pull/4760)) - MinGW: Set `L_tmpnam` and `TMP_MAX` to the UCRT value ([#&#8203;4566](https://redirect.github.com/rust-lang/libc/pull/4566)) - WASI: More closely align pthread type reprs ([#&#8203;4747](https://redirect.github.com/rust-lang/libc/pull/4747)) - Simplify rustc-check-cfg emission in build.rs ([#&#8203;4724](https://redirect.github.com/rust-lang/libc/pull/4724)) - Transition a number of definitions to the new source structure (internal change) ##### Removed - MIPS Musl: Remove rogue definition of `SIGSTKFLT` ([#&#8203;4749](https://redirect.github.com/rust-lang/libc/pull/4749)) - NetBSD: Make `statvfs.f_spare` non-public ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Remove BPF constants ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Remove `*_MAXID` constants and `AT_SUN_LDPGSIZE` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Remove `IFF_NOTRAILERS` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Remove `vm_size_t` ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) - NetBSD: Replace REG\_ENOSYS with REG\_ILLSEQ ([#&#8203;4782](https://redirect.github.com/rust-lang/libc/pull/4782)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles. 🚦 **Automerge**: Enabled. ♻ **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://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
1 parent 670bfa8 commit 115b56e

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ indoc = "2.0.7"
7878
insta = { version = "1.44.3", default-features = false }
7979
is_ci = "1.2.0"
8080
itertools = "0.14.0"
81-
libc = "0.2.177"
81+
libc = "0.2.178"
8282
libtest-mimic = "0.8.1"
8383
log = "0.4.28"
8484
maplit = "1.0.2"

workspace-hack/Cargo.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ dof = { version = "0.4.0", default-features = false, features = ["des"] }
5858
futures-channel = { version = "0.3.31", features = ["sink"] }
5959
futures-core = { version = "0.3.31" }
6060
futures-sink = { version = "0.3.31" }
61-
libc = { version = "0.2.177", features = ["extra_traits"] }
61+
libc = { version = "0.2.178", features = ["extra_traits"] }
6262
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
6363
mio = { version = "1.0.4", features = ["net", "os-ext"] }
6464
proc-macro2 = { version = "1.0.101" }
@@ -73,7 +73,7 @@ zerocopy = { version = "0.8.27", default-features = false, features = ["derive",
7373
[target.x86_64-unknown-linux-gnu.build-dependencies]
7474
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
7575
dof = { version = "0.4.0", default-features = false, features = ["des"] }
76-
libc = { version = "0.2.177", features = ["extra_traits"] }
76+
libc = { version = "0.2.178", features = ["extra_traits"] }
7777
log = { version = "0.4.28", default-features = false, features = ["std"] }
7878
serde_json = { version = "1.0.145", features = ["unbounded_depth"] }
7979
usdt-impl = { version = "0.6.0", default-features = false, features = ["des"] }
@@ -84,7 +84,7 @@ bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
8484
futures-channel = { version = "0.3.31", features = ["sink"] }
8585
futures-core = { version = "0.3.31" }
8686
futures-sink = { version = "0.3.31" }
87-
libc = { version = "0.2.177", features = ["extra_traits"] }
87+
libc = { version = "0.2.178", features = ["extra_traits"] }
8888
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
8989
mio = { version = "1.0.4", features = ["net", "os-ext"] }
9090
rustix = { version = "1.0.7", features = ["fs", "stdio", "termios"] }
@@ -93,15 +93,15 @@ tokio = { version = "1.48.0", default-features = false, features = ["net"] }
9393

9494
[target.aarch64-unknown-linux-gnu.build-dependencies]
9595
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
96-
libc = { version = "0.2.177", features = ["extra_traits"] }
96+
libc = { version = "0.2.178", features = ["extra_traits"] }
9797

9898
[target.x86_64-unknown-linux-musl.dependencies]
9999
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
100100
dof = { version = "0.4.0", default-features = false, features = ["des"] }
101101
futures-channel = { version = "0.3.31", features = ["sink"] }
102102
futures-core = { version = "0.3.31" }
103103
futures-sink = { version = "0.3.31" }
104-
libc = { version = "0.2.177", features = ["extra_traits"] }
104+
libc = { version = "0.2.178", features = ["extra_traits"] }
105105
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
106106
mio = { version = "1.0.4", features = ["net", "os-ext"] }
107107
proc-macro2 = { version = "1.0.101" }
@@ -116,7 +116,7 @@ zerocopy = { version = "0.8.27", default-features = false, features = ["derive",
116116
[target.x86_64-unknown-linux-musl.build-dependencies]
117117
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
118118
dof = { version = "0.4.0", default-features = false, features = ["des"] }
119-
libc = { version = "0.2.177", features = ["extra_traits"] }
119+
libc = { version = "0.2.178", features = ["extra_traits"] }
120120
log = { version = "0.4.28", default-features = false, features = ["std"] }
121121
serde_json = { version = "1.0.145", features = ["unbounded_depth"] }
122122
usdt-impl = { version = "0.6.0", default-features = false, features = ["des"] }
@@ -127,7 +127,7 @@ bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
127127
futures-channel = { version = "0.3.31", features = ["sink"] }
128128
futures-core = { version = "0.3.31" }
129129
futures-sink = { version = "0.3.31" }
130-
libc = { version = "0.2.177", features = ["extra_traits"] }
130+
libc = { version = "0.2.178", features = ["extra_traits"] }
131131
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
132132
mio = { version = "1.0.4", features = ["net", "os-ext"] }
133133
rustix = { version = "1.0.7", features = ["fs", "stdio", "termios"] }
@@ -136,15 +136,15 @@ tokio = { version = "1.48.0", default-features = false, features = ["net"] }
136136

137137
[target.aarch64-unknown-linux-musl.build-dependencies]
138138
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
139-
libc = { version = "0.2.177", features = ["extra_traits"] }
139+
libc = { version = "0.2.178", features = ["extra_traits"] }
140140

141141
[target.x86_64-unknown-illumos.dependencies]
142142
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
143143
dof = { version = "0.4.0", default-features = false, features = ["des"] }
144144
futures-channel = { version = "0.3.31", features = ["sink"] }
145145
futures-core = { version = "0.3.31" }
146146
futures-sink = { version = "0.3.31" }
147-
libc = { version = "0.2.177", features = ["extra_traits"] }
147+
libc = { version = "0.2.178", features = ["extra_traits"] }
148148
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
149149
mio = { version = "1.0.4", features = ["net", "os-ext"] }
150150
proc-macro2 = { version = "1.0.101" }
@@ -159,7 +159,7 @@ zerocopy = { version = "0.8.27", default-features = false, features = ["derive",
159159
[target.x86_64-unknown-illumos.build-dependencies]
160160
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
161161
dof = { version = "0.4.0", default-features = false, features = ["des"] }
162-
libc = { version = "0.2.177", features = ["extra_traits"] }
162+
libc = { version = "0.2.178", features = ["extra_traits"] }
163163
log = { version = "0.4.28", default-features = false, features = ["std"] }
164164
serde_json = { version = "1.0.145", features = ["unbounded_depth"] }
165165
usdt-impl = { version = "0.6.0", default-features = false, features = ["des"] }
@@ -171,7 +171,7 @@ dof = { version = "0.4.0", default-features = false, features = ["des"] }
171171
futures-channel = { version = "0.3.31", features = ["sink"] }
172172
futures-core = { version = "0.3.31" }
173173
futures-sink = { version = "0.3.31" }
174-
libc = { version = "0.2.177", features = ["extra_traits"] }
174+
libc = { version = "0.2.178", features = ["extra_traits"] }
175175
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
176176
mio = { version = "1.0.4", features = ["net", "os-ext"] }
177177
proc-macro2 = { version = "1.0.101" }
@@ -186,7 +186,7 @@ zerocopy = { version = "0.8.27", default-features = false, features = ["derive",
186186
[target.x86_64-unknown-freebsd.build-dependencies]
187187
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
188188
dof = { version = "0.4.0", default-features = false, features = ["des"] }
189-
libc = { version = "0.2.177", features = ["extra_traits"] }
189+
libc = { version = "0.2.178", features = ["extra_traits"] }
190190
log = { version = "0.4.28", default-features = false, features = ["std"] }
191191
serde_json = { version = "1.0.145", features = ["unbounded_depth"] }
192192
usdt-impl = { version = "0.6.0", default-features = false, features = ["des"] }
@@ -198,7 +198,7 @@ dof = { version = "0.4.0", default-features = false, features = ["des"] }
198198
futures-channel = { version = "0.3.31", features = ["sink"] }
199199
futures-core = { version = "0.3.31" }
200200
futures-sink = { version = "0.3.31" }
201-
libc = { version = "0.2.177", features = ["extra_traits"] }
201+
libc = { version = "0.2.178", features = ["extra_traits"] }
202202
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
203203
mio = { version = "1.0.4", features = ["net", "os-ext"] }
204204
proc-macro2 = { version = "1.0.101" }
@@ -213,7 +213,7 @@ zerocopy = { version = "0.8.27", default-features = false, features = ["derive",
213213
[target.aarch64-unknown-freebsd.build-dependencies]
214214
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
215215
dof = { version = "0.4.0", default-features = false, features = ["des"] }
216-
libc = { version = "0.2.177", features = ["extra_traits"] }
216+
libc = { version = "0.2.178", features = ["extra_traits"] }
217217
log = { version = "0.4.28", default-features = false, features = ["std"] }
218218
serde_json = { version = "1.0.145", features = ["unbounded_depth"] }
219219
usdt-impl = { version = "0.6.0", default-features = false, features = ["des"] }
@@ -224,7 +224,7 @@ bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
224224
futures-channel = { version = "0.3.31", features = ["sink"] }
225225
futures-core = { version = "0.3.31" }
226226
futures-sink = { version = "0.3.31" }
227-
libc = { version = "0.2.177", features = ["extra_traits"] }
227+
libc = { version = "0.2.178", features = ["extra_traits"] }
228228
miniz_oxide = { version = "0.8.9", default-features = false, features = ["with-alloc"] }
229229
mio = { version = "1.0.4", features = ["net", "os-ext"] }
230230
proc-macro2 = { version = "1.0.101" }
@@ -238,7 +238,7 @@ zerocopy = { version = "0.8.27", default-features = false, features = ["derive",
238238

239239
[target.aarch64-apple-darwin.build-dependencies]
240240
bitflags = { version = "2.9.4", default-features = false, features = ["std"] }
241-
libc = { version = "0.2.177", features = ["extra_traits"] }
241+
libc = { version = "0.2.178", features = ["extra_traits"] }
242242
log = { version = "0.4.28", default-features = false, features = ["std"] }
243243
serde_json = { version = "1.0.145", features = ["unbounded_depth"] }
244244
usdt-impl = { version = "0.6.0", default-features = false, features = ["des"] }

0 commit comments

Comments
 (0)