Skip to content

Commit

Permalink
chore(deps): update rust crate libc to 0.2.165 (#1899)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [libc](https://redirect.github.com/rust-lang/libc) |
workspace.dependencies | patch | `0.2.164` -> `0.2.165` |

---

### Release Notes

<details>
<summary>rust-lang/libc (libc)</summary>

###
[`v0.2.165`](https://redirect.github.com/rust-lang/libc/releases/tag/0.2.165)

[Compare
Source](https://redirect.github.com/rust-lang/libc/compare/0.2.164...0.2.165)

##### Added

- Android: add `mkostemp`, `mkostemps`
[#&#8203;3601](https://redirect.github.com/rust-lang/libc/pull/3601)
- Android: add a few API 30 calls
[#&#8203;3604](https://redirect.github.com/rust-lang/libc/pull/3604)
- Android: add missing syscall constants
[#&#8203;3558](https://redirect.github.com/rust-lang/libc/pull/3558)
- Apple: add `in6_ifreq`
[#&#8203;3617](https://redirect.github.com/rust-lang/libc/pull/3617)
- Apple: add missing `sysctl` net types
[#&#8203;4022](https://redirect.github.com/rust-lang/libc/pull/4022)
(before release: remove `if_family_id`
([#&#8203;4137](https://redirect.github.com/rust-lang/libc/pull/4137)))
- Freebsd: add `kcmp` call support
[#&#8203;3746](https://redirect.github.com/rust-lang/libc/pull/3746)
- Hurd: add `MAP_32BIT` and `MAP_EXCL`
[#&#8203;4127](https://redirect.github.com/rust-lang/libc/pull/4127)
- Hurd: add `domainname` field to `utsname`
([#&#8203;4089](https://redirect.github.com/rust-lang/libc/pull/4089))
- Linux GNU: add `f_flags` to struct `statfs` for arm, mips, powerpc and
x86 [#&#8203;3663](https://redirect.github.com/rust-lang/libc/pull/3663)
- Linux GNU: add `malloc_stats`
[#&#8203;3596](https://redirect.github.com/rust-lang/libc/pull/3596)
- Linux: add ELF relocation-related structs
[#&#8203;3583](https://redirect.github.com/rust-lang/libc/pull/3583)
- Linux: add `ptp_*` structs
[#&#8203;4113](https://redirect.github.com/rust-lang/libc/pull/4113)
- Linux: add `ptp_clock_caps`
[#&#8203;4128](https://redirect.github.com/rust-lang/libc/pull/4128)
- Linux: add `ptp_pin_function` and most `PTP_` constants
[#&#8203;4114](https://redirect.github.com/rust-lang/libc/pull/4114)
- Linux: add missing AF_XDP structs & constants
[#&#8203;3956](https://redirect.github.com/rust-lang/libc/pull/3956)
- Linux: add missing netfilter consts
([#&#8203;3734](https://redirect.github.com/rust-lang/libc/pull/3734))
- Linux: add struct and constants for the `mount_setattr` syscall
[#&#8203;4046](https://redirect.github.com/rust-lang/libc/pull/4046)
- Linux: add wireless API
[#&#8203;3441](https://redirect.github.com/rust-lang/libc/pull/3441)
- Linux: expose the `len8_dlc` field of `can_frame`
[#&#8203;3357](https://redirect.github.com/rust-lang/libc/pull/3357)
- Musl: add `utmpx` API
[#&#8203;3213](https://redirect.github.com/rust-lang/libc/pull/3213)
- Musl: add missing syscall constants
[#&#8203;4028](https://redirect.github.com/rust-lang/libc/pull/4028)
- NetBSD: add `mcontext`-related data for RISCV64
[#&#8203;3468](https://redirect.github.com/rust-lang/libc/pull/3468)
- Redox: add new `netinet` constants
[#&#8203;3586](https://redirect.github.com/rust-lang/libc/pull/3586))
- Solarish: add `_POSIX_VDISABLE`
([#&#8203;4103](https://redirect.github.com/rust-lang/libc/pull/4103))
- Tests: Add a test that the `const extern fn` macro works
[#&#8203;4134](https://redirect.github.com/rust-lang/libc/pull/4134)
- Tests: Add test of primitive types against `std`
[#&#8203;3616](https://redirect.github.com/rust-lang/libc/pull/3616)
- Unix: Add `htonl`, `htons`, `ntohl`, `ntohs`
[#&#8203;3669](https://redirect.github.com/rust-lang/libc/pull/3669)
- Unix: add `aligned_alloc`
[#&#8203;3843](https://redirect.github.com/rust-lang/libc/pull/3843)
- Windows: add `aligned_realloc`
[#&#8203;3592](https://redirect.github.com/rust-lang/libc/pull/3592)

##### Fixed

- **breaking** Hurd: fix `MAP_HASSEMAPHORE` name
([#&#8203;4127](https://redirect.github.com/rust-lang/libc/pull/4127))
- **breaking** ulibc Mips: fix `SA_*` mismatched types
([#&#8203;3211](https://redirect.github.com/rust-lang/libc/pull/3211))
- Aix: fix an enum FFI safety warning
[#&#8203;3644](https://redirect.github.com/rust-lang/libc/pull/3644)
- Haiku: fix some typos
([#&#8203;3664](https://redirect.github.com/rust-lang/libc/pull/3664))
- Tests: fix `Elf{32,64}_Relr`-related tests
[#&#8203;3647](https://redirect.github.com/rust-lang/libc/pull/3647)
-   Tests: fix libc-tests for `loongarch64-linux-musl`
- Tests: fix some clippy warnings
[#&#8203;3855](https://redirect.github.com/rust-lang/libc/pull/3855)
- Tests: fix tests on `riscv64gc-unknown-freebsd`
[#&#8203;4129](https://redirect.github.com/rust-lang/libc/pull/4129)

##### Deprecated

- Apple: deprecate `iconv_open`
[`25e022a`](https://redirect.github.com/rust-lang/libc/commit/25e022a22eca3634166ef472b748c297e60fcf7f)
- Apple: deprecate `mach_task_self`
[#&#8203;4095](https://redirect.github.com/rust-lang/libc/pull/4095)
- Apple: update `mach` deprecation notices for things that were removed
in `main`
[#&#8203;4097](https://redirect.github.com/rust-lang/libc/pull/4097)

##### Cleanup

- Adjust the `f!` macro to be more flexible
[#&#8203;4107](https://redirect.github.com/rust-lang/libc/pull/4107)
- Aix: remove duplicate constants
[#&#8203;3643](https://redirect.github.com/rust-lang/libc/pull/3643)
- CI: make scripts more uniform
[#&#8203;4042](https://redirect.github.com/rust-lang/libc/pull/4042)
- Drop the `libc_align` conditional
[`b5b553d`](https://redirect.github.com/rust-lang/libc/commit/b5b553d0ee7de0d4781432a9a9a0a6445dd7f34f)
- Drop the `libc_cfg_target_vendor` conditional
[#&#8203;4060](https://redirect.github.com/rust-lang/libc/pull/4060)
- Drop the `libc_const_size_of` conditional
[`5a43dd2`](https://redirect.github.com/rust-lang/libc/commit/5a43dd2754366f99b3a83881b30246ce0e51833c)
- Drop the `libc_core_cvoid` conditional
[#&#8203;4060](https://redirect.github.com/rust-lang/libc/pull/4060)
- Drop the `libc_int128` conditional
[#&#8203;4060](https://redirect.github.com/rust-lang/libc/pull/4060)
- Drop the `libc_non_exhaustive` conditional
[#&#8203;4060](https://redirect.github.com/rust-lang/libc/pull/4060)
- Drop the `libc_packedN` conditional
[#&#8203;4060](https://redirect.github.com/rust-lang/libc/pull/4060)
- Drop the `libc_priv_mod_use` conditional
[`19c5937`](https://redirect.github.com/rust-lang/libc/commit/19c59376d11b015009fb9b04f233a30a1bf50a91)
- Drop the `libc_union` conditional
[`b9e4d80`](https://redirect.github.com/rust-lang/libc/commit/b9e4d8012f612dfe24147da3e69522763f92b6e3)
- Drop the `long_array` conditional
[#&#8203;4096](https://redirect.github.com/rust-lang/libc/pull/4096)
- Drop the `ptr_addr_of` conditional
[#&#8203;4065](https://redirect.github.com/rust-lang/libc/pull/4065)
- Drop warnings about deprecated cargo features
[#&#8203;4060](https://redirect.github.com/rust-lang/libc/pull/4060)
- Eliminate uses of `struct_formatter`
[#&#8203;4074](https://redirect.github.com/rust-lang/libc/pull/4074)
- Fix a few other array size hacks
[`d63be8b`](https://redirect.github.com/rust-lang/libc/commit/d63be8b69b0736753213f5d933767866a5801ee7)
- Glibc: remove redundant definitions
([#&#8203;3261](https://redirect.github.com/rust-lang/libc/pull/3261))
- Musl: remove redundant definitions
([#&#8203;3261](https://redirect.github.com/rust-lang/libc/pull/3261))
- Musl: unify definitions of `siginfo_t`
([#&#8203;3261](https://redirect.github.com/rust-lang/libc/pull/3261))
- Musl: unify definitions of statfs and statfs64
([#&#8203;3261](https://redirect.github.com/rust-lang/libc/pull/3261))
- Musl: unify definitions of statvfs and statvfs64
([#&#8203;3261](https://redirect.github.com/rust-lang/libc/pull/3261))
- Musl: unify statx definitions
([#&#8203;3978](https://redirect.github.com/rust-lang/libc/pull/3978))
- Remove array size hacks for Rust < 1.47
[`27ee6fe`](https://redirect.github.com/rust-lang/libc/commit/27ee6fe02ca0848b2af3cd747536264e4c7b697d)
- Remove repetitive words
[`77de375`](https://redirect.github.com/rust-lang/libc/commit/77de375891285e18a81616f7dceda6d52732eed6)
- Use #\[derive] for Copy/Clone in s! and friends
[#&#8203;4038](https://redirect.github.com/rust-lang/libc/pull/4038)
- Use some tricks to format macro bodies
[#&#8203;4107](https://redirect.github.com/rust-lang/libc/pull/4107)

##### Other

- Apply formatting to macro bodies
[#&#8203;4107](https://redirect.github.com/rust-lang/libc/pull/4107)
- Bump libc-test to Rust 2021 Edition
[#&#8203;3905](https://redirect.github.com/rust-lang/libc/pull/3905)
- CI: Add a check that semver files don't contain duplicate entries
[#&#8203;4087](https://redirect.github.com/rust-lang/libc/pull/4087)
- CI: Add `fanotify_event_info_fid` to FAM-exempt types
[#&#8203;4038](https://redirect.github.com/rust-lang/libc/pull/4038)
- CI: Allow rustfmt to organize imports
([#&#8203;4136](https://redirect.github.com/rust-lang/libc/pull/4136))
- CI: Always run rustfmt
[#&#8203;4120](https://redirect.github.com/rust-lang/libc/pull/4120)
- CI: Change 32-bit Docker images to use EOL repos
[#&#8203;4120](https://redirect.github.com/rust-lang/libc/pull/4120)
- CI: Change 64-bit Docker images to ubuntu:24.10
[#&#8203;4120](https://redirect.github.com/rust-lang/libc/pull/4120)
- CI: Disable the check for >1 s! invocation
[#&#8203;4107](https://redirect.github.com/rust-lang/libc/pull/4107)
- CI: Ensure build channels get run even if FILTER is unset
[#&#8203;4125](https://redirect.github.com/rust-lang/libc/pull/4125)
- CI: Ensure there is a fallback for no_std
[#&#8203;4125](https://redirect.github.com/rust-lang/libc/pull/4125)
- CI: Fix cases where unset variables cause errors
[#&#8203;4108](https://redirect.github.com/rust-lang/libc/pull/4108)
- CI: Naming adjustments and cleanup
[#&#8203;4124](https://redirect.github.com/rust-lang/libc/pull/4124)
- CI: Only invoke rustup if running in CI
[#&#8203;4107](https://redirect.github.com/rust-lang/libc/pull/4107)
- CI: Remove the logic to handle old rust versions
[#&#8203;4068](https://redirect.github.com/rust-lang/libc/pull/4068)
- CI: Set -u (error on unset) in all script files
[#&#8203;4108](https://redirect.github.com/rust-lang/libc/pull/4108)
- CI: add support for `loongarch64-unknown-linux-musl`
[#&#8203;4092](https://redirect.github.com/rust-lang/libc/pull/4092)
- CI: make `aarch64-apple-darwin` not a nightly-only target
[#&#8203;4068](https://redirect.github.com/rust-lang/libc/pull/4068)
- CI: run shellcheck on all scripts
[#&#8203;4042](https://redirect.github.com/rust-lang/libc/pull/4042)
- CI: update musl headers to Linux 6.6
[#&#8203;3921](https://redirect.github.com/rust-lang/libc/pull/3921)
- CI: use qemu-sparc64 to run sparc64 tests
[#&#8203;4133](https://redirect.github.com/rust-lang/libc/pull/4133)
- Drop the `libc_const_extern_fn` conditional
[`674cc1f`](https://redirect.github.com/rust-lang/libc/commit/674cc1f47f605038ef1aa2cce8e8bc9dac128276)
- Drop the `libc_underscore_const_names` conditional
[`f0febd5`](https://redirect.github.com/rust-lang/libc/commit/f0febd5e2e50b38e05259d3afad3c9783711bcf0)
- Explicitly set the edition to 2015
[#&#8203;4058](https://redirect.github.com/rust-lang/libc/pull/4058)
- Introduce a `git-blame-ignore-revs` file
[#&#8203;4107](https://redirect.github.com/rust-lang/libc/pull/4107)
- Tests: Ignore fields as required on Ubuntu 24.10
[#&#8203;4120](https://redirect.github.com/rust-lang/libc/pull/4120)
- Tests: skip `ATF_*` constants for OpenBSD
[#&#8203;4088](https://redirect.github.com/rust-lang/libc/pull/4088)
- Triagebot: Add an autolabel for CI
[#&#8203;4052](https://redirect.github.com/rust-lang/libc/pull/4052)

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4zMC4wIiwidXBkYXRlZEluVmVyIjoiMzkuMzAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
  • Loading branch information
nextest-bot authored Nov 26, 2024
1 parent 2f11f79 commit 42a6fde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ indoc = "2.0.5"
insta = { version = "1.41.1", default-features = false }
is_ci = "1.2.0"
itertools = "0.13.0"
libc = "0.2.164"
libc = "0.2.165"
log = "0.4.22"
maplit = "1.0.2"
miette = "7.2.0"
Expand Down
8 changes: 4 additions & 4 deletions workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,25 @@ syn = { version = "2.0.89", features = ["extra-traits", "full", "visit", "visit-
[target.x86_64-unknown-linux-gnu.dependencies]
futures-channel = { version = "0.3.31", features = ["sink"] }
futures-sink = { version = "0.3.31", default-features = false, features = ["std"] }
libc = { version = "0.2.164", features = ["extra_traits"] }
libc = { version = "0.2.165", features = ["extra_traits"] }
linux-raw-sys = { version = "0.4.14", default-features = false, features = ["elf", "errno", "general", "ioctl", "no_std", "std"] }
rustix = { version = "0.38.37", features = ["fs", "termios"] }
smallvec = { version = "1.13.2", default-features = false, features = ["const_new"] }
tokio = { version = "1.41.1", default-features = false, features = ["net"] }

[target.x86_64-unknown-linux-gnu.build-dependencies]
libc = { version = "0.2.164", features = ["extra_traits"] }
libc = { version = "0.2.165", features = ["extra_traits"] }

[target.x86_64-apple-darwin.dependencies]
futures-channel = { version = "0.3.31", features = ["sink"] }
futures-sink = { version = "0.3.31", default-features = false, features = ["std"] }
libc = { version = "0.2.164", features = ["extra_traits"] }
libc = { version = "0.2.165", features = ["extra_traits"] }
rustix = { version = "0.38.37", features = ["fs", "termios"] }
smallvec = { version = "1.13.2", default-features = false, features = ["const_new"] }
tokio = { version = "1.41.1", default-features = false, features = ["net"] }

[target.x86_64-apple-darwin.build-dependencies]
libc = { version = "0.2.164", features = ["extra_traits"] }
libc = { version = "0.2.165", features = ["extra_traits"] }

[target.x86_64-pc-windows-msvc.dependencies]
futures-channel = { version = "0.3.31", features = ["sink"] }
Expand Down

0 comments on commit 42a6fde

Please sign in to comment.