Commit 115b56e
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`
([#​4744](https://redirect.github.com/rust-lang/libc/pull/4744))
- Cygwin: Add missing utmp/x.h, grp.h, and stdio.h interfaces
([#​4827](https://redirect.github.com/rust-lang/libc/pull/4827))
- Linux s390x musl: Add `__psw_t`/`fprefset_t`/`*context_t`
([#​4726](https://redirect.github.com/rust-lang/libc/pull/4726))
- Linux, Android: Add definition for IUCLC
([#​4846](https://redirect.github.com/rust-lang/libc/pull/4846))
- Linux, FreeBSD: Add `AT_HWCAP{3,4}`
([#​4734](https://redirect.github.com/rust-lang/libc/pull/4734))
- Linux: Add definitions from linux/can/bcm.h
([#​4683](https://redirect.github.com/rust-lang/libc/pull/4683))
- Linux: Add syscalls 451-469 for m68k
([#​4850](https://redirect.github.com/rust-lang/libc/pull/4850))
- Linux: PowerPC: Add 'ucontext.h' definitions
([#​4696](https://redirect.github.com/rust-lang/libc/pull/4696))
- NetBSD: Define `eventfd`
([#​4830](https://redirect.github.com/rust-lang/libc/pull/4830))
- Newlib: Add missing constants from `unistd.h`
([#​4811](https://redirect.github.com/rust-lang/libc/pull/4811))
- QNX NTO: Add `cfmakeraw`
([#​4704](https://redirect.github.com/rust-lang/libc/pull/4704))
- QNX NTO: Add `cfsetspeed`
([#​4704](https://redirect.github.com/rust-lang/libc/pull/4704))
- Redox: Add `getresgid` and `getresuid`
([#​4752](https://redirect.github.com/rust-lang/libc/pull/4752))
- Redox: Add `setresgid` and `setresuid`
([#​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`
([#​4781](https://redirect.github.com/rust-lang/libc/pull/4781))
- VxWorks: Add missing defines/functions needed by rust stdlib
([#​4779](https://redirect.github.com/rust-lang/libc/pull/4779))
- WASI: Add more definitions for libstd
([#​4747](https://redirect.github.com/rust-lang/libc/pull/4747))
##### Deprecated:
- Apple: Deprecate `TIOCREMOTE`
([#​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`
([#​4790](https://redirect.github.com/rust-lang/libc/pull/4790))
- AIX: Resolve function comparison and `unnecessary_transmutes` warnings
([#​4780](https://redirect.github.com/rust-lang/libc/pull/4780))
- Apple: Correct the value of `SF_SETTABLE`
([#​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`
([#​4773](https://redirect.github.com/rust-lang/libc/pull/4773))
- L4Re: Update available pthread API
([#​4836](https://redirect.github.com/rust-lang/libc/pull/4836))
- Linux: Correct the value of `NFT_MSG_MAX`
([#​4761](https://redirect.github.com/rust-lang/libc/pull/4761))
- Linux: Remove incorrect `repr(align(8))` for `canxl_frame`
([#​4760](https://redirect.github.com/rust-lang/libc/pull/4760))
- Make `eventfd` argument names match OS docs/headers
([#​4830](https://redirect.github.com/rust-lang/libc/pull/4830))
- NetBSD: Account for upstream changes to ptrace with LWP
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Correct `ipc_perm`, split from OpenBSD as `ipc.rs`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Correct a number of symbol link names
([#​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`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Fix the type of `kevent.udata`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Fix the type of `mcontext_t.__fpregs`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Fix the value of `PT_SUSPEND`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Fix the values of FNM\_\* constants
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Increase the size of `sockaddr_dl.sdl_data` from 12 to 24
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Introduce `if_.rs`, fix the definition of `ifreq`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Introduce `time.rs`, fix the values of `CLOCK_*_CPUTIME_ID`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Introduce `timex.rs`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Introduce `types.rs`, correct the definition of `lwpid_t`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Introduce `utmp_.rs`, correct the definition of `lastlog`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Introduce `utmpx_.rs`, correct utmpx definitions
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Make `_cpuset` an extern type
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: RISC-V 64: Fix the `mcontext` types
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- Nuttx: Resolve warnings
([#​4773](https://redirect.github.com/rust-lang/libc/pull/4773))
- OHOS: Don't emit duplicate lfs64 definitions
([#​4804](https://redirect.github.com/rust-lang/libc/pull/4804))
- Redox: Fix the type of `pid_t`
([#​4825](https://redirect.github.com/rust-lang/libc/pull/4825))
- WASI: Gate `__wasilibc_register_preopened_fd`
([#​4837](https://redirect.github.com/rust-lang/libc/pull/4837))
- Wali: Fix unknown config
([#​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
([#​4750](https://redirect.github.com/rust-lang/libc/pull/4750))
- DragonFly: Avoid usage of `thread_local`
([#​3653](https://redirect.github.com/rust-lang/libc/pull/3653))
- Linux: Update the definition for `ucontext_t` and unskip its tests
([#​4760](https://redirect.github.com/rust-lang/libc/pull/4760))
- MinGW: Set `L_tmpnam` and `TMP_MAX` to the UCRT value
([#​4566](https://redirect.github.com/rust-lang/libc/pull/4566))
- WASI: More closely align pthread type reprs
([#​4747](https://redirect.github.com/rust-lang/libc/pull/4747))
- Simplify rustc-check-cfg emission in build.rs
([#​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`
([#​4749](https://redirect.github.com/rust-lang/libc/pull/4749))
- NetBSD: Make `statvfs.f_spare` non-public
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Remove BPF constants
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Remove `*_MAXID` constants and `AT_SUN_LDPGSIZE`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Remove `IFF_NOTRAILERS`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Remove `vm_size_t`
([#​4782](https://redirect.github.com/rust-lang/libc/pull/4782))
- NetBSD: Replace REG\_ENOSYS with REG\_ILLSEQ
([#​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
3 files changed
+19
-19
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
0 commit comments