Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new check-cfg syntax in newer nightly #3410

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

Urgau
Copy link
Member

@Urgau Urgau commented Oct 27, 2023

MCP636 - Simplify and improve explicitness of the check-cfg syntax introduced a new syntax for check-cfg.

This PR adjust the build.rs code to use the new syntax on rustc >= 75.
The old syntax is still used on older version since on rust-lang/rust we need to be compatible with both for now.

@rustbot
Copy link
Collaborator

rustbot commented Oct 27, 2023

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue

@JohnTitor
Copy link
Member

I think this would throw the error on old 1.75 nightly, like #3066. It'd be great if we could avoid that.

@Urgau
Copy link
Member Author

Urgau commented Oct 27, 2023

I think this would throw the error on old 1.75 nightly, like #3066. It'd be great if we could avoid that.

Yes, it would, but I don't know how to avoid that. The version returned by rustc isn't granular enough.

But I also don't think it matter that much since you need the LIBC_CHECK_CFG=1 env to activate the check cfgs, and as far as I know only rust-lang/rust and rust-lang/libc are setting it.

@Urgau
Copy link
Member Author

Urgau commented Oct 27, 2023

I've just push a commit to fix the check_cfg CI workflow, which was broken due to using the old Cargo -Zcheck-cfg options.

I also notice that it as been broken for a while, shouldn't bors/CI be gated on it? Should I gate CI on it?

@JohnTitor
Copy link
Member

I also notice that it as been broken for a while, shouldn't bors/CI be gated on it? Should I gate CI on it?

They actually gate CI, but the first time they noticed it was after merging...: https://github.com/rust-lang/libc/actions/runs/6644020892/job/18052280651
And other PRs are currently blocked.

I think this would throw the error on old 1.75 nightly, like #3066. It'd be great if we could avoid that.

Yes, it would, but I don't know how to avoid that. The version returned by rustc isn't granular enough.

But I also don't think it matter that much since you need the LIBC_CHECK_CFG=1 env to activate the check cfgs, and as far as I know only rust-lang/rust and rust-lang/libc are setting it.

Ok then we can go ahead I think, thanks for clarifying!

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Oct 27, 2023

📌 Commit 63e1ce2 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Oct 27, 2023

⌛ Testing commit 63e1ce2 with merge 4e3317f...

@bors
Copy link
Contributor

bors commented Oct 27, 2023

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing 4e3317f to main...

@bors bors merged commit 4e3317f into rust-lang:main Oct 27, 2023
11 checks passed
bors-ferrocene bot added a commit to ferrocene/ferrocene that referenced this pull request Oct 31, 2023
71: Automated pull from `rust-lang/libc` r=tshepang a=github-actions[bot]

This PR pulls the following changes from the [`rust-lang/libc`](https://github.com/rust-lang/libc) repository:

* rust-lang/libc#3410
* rust-lang/libc#3302
* rust-lang/libc#3409
* rust-lang/libc#3398
* rust-lang/libc#3324
* rust-lang/libc#3394
* rust-lang/libc#3391
* rust-lang/libc#3399
* rust-lang/libc#3404
* rust-lang/libc#3411
* rust-lang/libc#3291
* rust-lang/libc#3412


Co-authored-by: Qiu Chaofan <[email protected]>
Co-authored-by: Havard Eidnes <[email protected]>
Co-authored-by: David Carlier <[email protected]>
Co-authored-by: Marvin Schmidt <[email protected]>
Co-authored-by: Khem Raj <[email protected]>
Co-authored-by: Laurence Tratt <[email protected]>
Co-authored-by: Urgau <[email protected]>
Co-authored-by: bors <[email protected]>
Co-authored-by: Yuki Okushi <[email protected]>
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 5, 2023
…lacrum

Bump libc dependency

This bumps the `libc` crate to version 0.2.150 which includes rust-lang/libc#3410 which will help remove the old and deprecated check-cfg syntax.

Extracted from rust-lang#117612
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 7, 2023
…lacrum

Bump libc dependency

This bumps the `libc` crate to version 0.2.150 which includes rust-lang/libc#3410 which will help remove the old and deprecated check-cfg syntax.

Extracted from rust-lang#117612
gwilymk referenced this pull request in agbrs/agb Nov 14, 2023
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [libc](https://github.com/rust-lang/libc) | dependencies | patch |
`0.2.149` -> `0.2.150` |

---

### Release Notes

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

###
[`v0.2.150`](https://github.com/rust-lang/libc/releases/tag/0.2.150)

[Compare
Source](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150)

#### What's Changed

- feat: closefrom() and close_range() for FreeBSD by
[@&#8203;SteveLauC](https://github.com/SteveLauC) in
[https://github.com/rust-lang/libc/pull/3374](https://github.com/rust-lang/libc/pull/3374)
- adding apple ifreq by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3375](https://github.com/rust-lang/libc/pull/3375)
- Add pthread_once by [@&#8203;0xcaff](https://github.com/0xcaff) in
[https://github.com/rust-lang/libc/pull/3376](https://github.com/rust-lang/libc/pull/3376)
- netbsd: Add SO_NOSIGPIPE by
[@&#8203;taiki-e](https://github.com/taiki-e) in
[https://github.com/rust-lang/libc/pull/3377](https://github.com/rust-lang/libc/pull/3377)
- Say goodbye to GH Pages in favor of docs.rs by
[@&#8203;JohnTitor](https://github.com/JohnTitor) in
[https://github.com/rust-lang/libc/pull/3378](https://github.com/rust-lang/libc/pull/3378)
- bugfix for teeos use Option by
[@&#8203;Sword-Destiny](https://github.com/Sword-Destiny) in
[https://github.com/rust-lang/libc/pull/3379](https://github.com/rust-lang/libc/pull/3379)
- openbsd/netbsd sharing execvpe definition by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3382](https://github.com/rust-lang/libc/pull/3382)
- ifreq for apple follow-up fix case when in non libc_union case by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3385](https://github.com/rust-lang/libc/pull/3385)
- NetBSD's mod.rs: fix cpuid_t definition. by
[@&#8203;he32](https://github.com/he32) in
[https://github.com/rust-lang/libc/pull/3386](https://github.com/rust-lang/libc/pull/3386)
- ifconf addition to apple. fixing freebsd's implementation while at it.
by [@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3388](https://github.com/rust-lang/libc/pull/3388)
- adding exect/execvP for FreeBSD/DragonflyBSD by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3381](https://github.com/rust-lang/libc/pull/3381)
- adding execvP for apple by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3383](https://github.com/rust-lang/libc/pull/3383)
- adding ifreq struct for openbsd by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3384](https://github.com/rust-lang/libc/pull/3384)
- Add `MCL_ONFAULT` constants by
[@&#8203;newpavlov](https://github.com/newpavlov) in
[https://github.com/rust-lang/libc/pull/3380](https://github.com/rust-lang/libc/pull/3380)
- Add time namespace constant by
[@&#8203;cd-work](https://github.com/cd-work) in
[https://github.com/rust-lang/libc/pull/3352](https://github.com/rust-lang/libc/pull/3352)
- adding few more CLONE_\* constant for Linux/Android. by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3034](https://github.com/rust-lang/libc/pull/3034)
- android add handful lock free stdio calls by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3290](https://github.com/rust-lang/libc/pull/3290)
- hurd: Fix msghdr's msg_iov field type by
[@&#8203;sthibaul](https://github.com/sthibaul) in
[https://github.com/rust-lang/libc/pull/3389](https://github.com/rust-lang/libc/pull/3389)
- Adding missing macros from linux/if_tun.h by
[@&#8203;BrandonMFong](https://github.com/BrandonMFong) in
[https://github.com/rust-lang/libc/pull/3320](https://github.com/rust-lang/libc/pull/3320)
- vxworks: Add mman.h consts and shm functions by
[@&#8203;jdygert-spok](https://github.com/jdygert-spok) in
[https://github.com/rust-lang/libc/pull/3406](https://github.com/rust-lang/libc/pull/3406)
- Reenable FreeBSD 14 CI, and update definitions to match 14.0-RC1. by
[@&#8203;asomers](https://github.com/asomers) in
[https://github.com/rust-lang/libc/pull/3355](https://github.com/rust-lang/libc/pull/3355)
- Use new check-cfg syntax in newer nightly by
[@&#8203;Urgau](https://github.com/Urgau) in
[https://github.com/rust-lang/libc/pull/3410](https://github.com/rust-lang/libc/pull/3410)
- musl fixes and musl+riscv32 fixes by
[@&#8203;akiernan](https://github.com/akiernan) in
[https://github.com/rust-lang/libc/pull/3302](https://github.com/rust-lang/libc/pull/3302)
- Add various constants from OpenBSD's sys/exec_elf.h. by
[@&#8203;ltratt](https://github.com/ltratt) in
[https://github.com/rust-lang/libc/pull/3409](https://github.com/rust-lang/libc/pull/3409)
- riscv64/musl: Add landlock syscalls by
[@&#8203;marv](https://github.com/marv) in
[https://github.com/rust-lang/libc/pull/3398](https://github.com/rust-lang/libc/pull/3398)
- Add stat64at function declaration to AIX by
[@&#8203;ecnelises](https://github.com/ecnelises) in
[https://github.com/rust-lang/libc/pull/3324](https://github.com/rust-lang/libc/pull/3324)
- adding getmntinfo/getmntvinfo for DragonFlyBSD. by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3394](https://github.com/rust-lang/libc/pull/3394)
- adding MOVE_MOUNT\* constants for linux to use with SYS_move_mount by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3391](https://github.com/rust-lang/libc/pull/3391)
- freebsd adding PROT_MAX|PROT_MAX_EXTRACT mmap flags by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3399](https://github.com/rust-lang/libc/pull/3399)
- linux/android adding few if_alg.h constants. by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3404](https://github.com/rust-lang/libc/pull/3404)
- Setup Dependabot for GitHub Actions by
[@&#8203;JohnTitor](https://github.com/JohnTitor) in
[https://github.com/rust-lang/libc/pull/3411](https://github.com/rust-lang/libc/pull/3411)
- For NetBSD: add entry for NetBSD/riscv64. by
[@&#8203;he32](https://github.com/he32) in
[https://github.com/rust-lang/libc/pull/3291](https://github.com/rust-lang/libc/pull/3291)
- adding more recent pthread_get/setname_np calls to
freebsd/dragonflybsd by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3412](https://github.com/rust-lang/libc/pull/3412)
- NetBSD/mipsel: add support. by
[@&#8203;he32](https://github.com/he32) in
[https://github.com/rust-lang/libc/pull/3416](https://github.com/rust-lang/libc/pull/3416)
- feat: add new constants from fanotify linux api by
[@&#8203;ad0](https://github.com/ad0) in
[https://github.com/rust-lang/libc/pull/3408](https://github.com/rust-lang/libc/pull/3408)
- linux: add PTRACE_GETSIGMASK and PTRACE_SETSIGMASK by
[@&#8203;mbyzhang](https://github.com/mbyzhang) in
[https://github.com/rust-lang/libc/pull/3163](https://github.com/rust-lang/libc/pull/3163)
- Add a few declarations for Apple systems by
[@&#8203;vincentisambart](https://github.com/vincentisambart) in
[https://github.com/rust-lang/libc/pull/3328](https://github.com/rust-lang/libc/pull/3328)
- feat: Added ifconf struct by
[@&#8203;Brijeshkrishna](https://github.com/Brijeshkrishna) in
[https://github.com/rust-lang/libc/pull/3393](https://github.com/rust-lang/libc/pull/3393)
- Upgrade Docker images to Ubuntu 23.10 by
[@&#8203;JohnTitor](https://github.com/JohnTitor) in
[https://github.com/rust-lang/libc/pull/3418](https://github.com/rust-lang/libc/pull/3418)
- redox: Add remaining `grp.h` functions by
[@&#8203;ids1024](https://github.com/ids1024) in
[https://github.com/rust-lang/libc/pull/3421](https://github.com/rust-lang/libc/pull/3421)
- netbsd/openbsd adding more accessors to siginfo_t. by
[@&#8203;devnexen](https://github.com/devnexen) in
[https://github.com/rust-lang/libc/pull/3400](https://github.com/rust-lang/libc/pull/3400)
- Prepare release for v0.2.150 by
[@&#8203;JohnTitor](https://github.com/JohnTitor) in
[https://github.com/rust-lang/libc/pull/3424](https://github.com/rust-lang/libc/pull/3424)

#### New Contributors

- [@&#8203;0xcaff](https://github.com/0xcaff) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3376](https://github.com/rust-lang/libc/pull/3376)
- [@&#8203;he32](https://github.com/he32) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3386](https://github.com/rust-lang/libc/pull/3386)
- [@&#8203;sthibaul](https://github.com/sthibaul) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3389](https://github.com/rust-lang/libc/pull/3389)
- [@&#8203;BrandonMFong](https://github.com/BrandonMFong) made their
first contribution in
[https://github.com/rust-lang/libc/pull/3320](https://github.com/rust-lang/libc/pull/3320)
- [@&#8203;jdygert-spok](https://github.com/jdygert-spok) made their
first contribution in
[https://github.com/rust-lang/libc/pull/3406](https://github.com/rust-lang/libc/pull/3406)
- [@&#8203;Urgau](https://github.com/Urgau) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3410](https://github.com/rust-lang/libc/pull/3410)
- [@&#8203;akiernan](https://github.com/akiernan) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3302](https://github.com/rust-lang/libc/pull/3302)
- [@&#8203;marv](https://github.com/marv) made their first
contribution in
[https://github.com/rust-lang/libc/pull/3398](https://github.com/rust-lang/libc/pull/3398)
- [@&#8203;ad0](https://github.com/ad0) made their first contribution
in
[https://github.com/rust-lang/libc/pull/3408](https://github.com/rust-lang/libc/pull/3408)
- [@&#8203;vincentisambart](https://github.com/vincentisambart) made
their first contribution in
[https://github.com/rust-lang/libc/pull/3328](https://github.com/rust-lang/libc/pull/3328)

**Full Changelog**:
rust-lang/libc@0.2.149...0.2.150

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
bors referenced this pull request in rust-lang/cargo Dec 1, 2023
chore(deps): update compatible

[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [clap](https://github.com/clap-rs/clap) | workspace.dependencies | patch | `4.4.7` -> `4.4.10` |
| [core-foundation](https://github.com/servo/core-foundation-rs) | workspace.dependencies | patch | `0.9.3` -> `0.9.4` |
| [ignore](https://github.com/BurntSushi/ripgrep/tree/master/crates/ignore) ([source](https://github.com/BurntSushi/ripgrep)) | workspace.dependencies | patch | `0.4.20` -> `0.4.21` |
| [libc](https://github.com/rust-lang/libc) | workspace.dependencies | patch | `0.2.149` -> `0.2.150` |
| [proptest](https://proptest-rs.github.io/proptest/proptest/index.html) ([source](https://github.com/proptest-rs/proptest)) | workspace.dependencies | minor | `1.3.1` -> `1.4.0` |
| [regex](https://github.com/rust-lang/regex) | workspace.dependencies | minor | `1.9.3` -> `1.10.2` |
| [serde](https://serde.rs) ([source](https://github.com/serde-rs/serde)) | workspace.dependencies | patch | `1.0.190` -> `1.0.193` |
| [similar](https://github.com/mitsuhiko/similar) | dev-dependencies | minor | `2.2.1` -> `2.3.0` |
| [syn](https://github.com/dtolnay/syn) | workspace.dependencies | patch | `2.0.38` -> `2.0.39` |
| [toml](https://github.com/toml-rs/toml) | workspace.dependencies | patch | `0.8.6` -> `0.8.8` |
| [tracing-subscriber](https://tokio.rs) ([source](https://github.com/tokio-rs/tracing)) | workspace.dependencies | patch | `0.3.17` -> `0.3.18` |
| [url](https://github.com/servo/rust-url) | workspace.dependencies | minor | `2.4.1` -> `2.5.0` |

---

### Release Notes

<details>
<summary>clap-rs/clap (clap)</summary>

### [`v4.4.10`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#4410---2023-11-28)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.4.9...v4.4.10)

##### Documentation

-   Link out to changelog
-   Cross link derive's attribute reference to derive tutorial

### [`v4.4.9`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#449---2023-11-27)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.4.8...v4.4.9)

##### Fixes

-   *(help)* Show correct `Command::about` under flattened headings
-   *(help)* Respect `hide` when flattening subcommands

### [`v4.4.8`](https://github.com/clap-rs/clap/blob/HEAD/CHANGELOG.md#448---2023-11-10)

[Compare Source](https://github.com/clap-rs/clap/compare/v4.4.7...v4.4.8)

##### Features

-   Add `Command::flatten_help` to allow `git stash -h` like help for subcommands

</details>

<details>
<summary>servo/core-foundation-rs (core-foundation)</summary>

### [`v0.9.4`](https://github.com/servo/core-foundation-rs/compare/core-foundation-v0.9.3...core-foundation-v0.9.4)

[Compare Source](https://github.com/servo/core-foundation-rs/compare/core-foundation-v0.9.3...core-foundation-v0.9.4)

</details>

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

### [`v0.2.150`](https://github.com/rust-lang/libc/releases/tag/0.2.150)

[Compare Source](https://github.com/rust-lang/libc/compare/0.2.149...0.2.150)

#### What's Changed

-   feat: closefrom() and close_range() for FreeBSD by [`@&#8203;SteveLauC](https://github.com/SteveLauC)` in [https://github.com/rust-lang/libc/pull/3374](https://github.com/rust-lang/libc/pull/3374)
-   adding apple ifreq by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3375](https://github.com/rust-lang/libc/pull/3375)
-   Add pthread_once by [`@&#8203;0xcaff](https://github.com/0xcaff)` in [https://github.com/rust-lang/libc/pull/3376](https://github.com/rust-lang/libc/pull/3376)
-   netbsd: Add SO_NOSIGPIPE by [`@&#8203;taiki-e](https://github.com/taiki-e)` in [https://github.com/rust-lang/libc/pull/3377](https://github.com/rust-lang/libc/pull/3377)
-   Say goodbye to GH Pages in favor of docs.rs by [`@&#8203;JohnTitor](https://github.com/JohnTitor)` in [https://github.com/rust-lang/libc/pull/3378](https://github.com/rust-lang/libc/pull/3378)
-   bugfix for teeos use Option by [`@&#8203;Sword-Destiny](https://github.com/Sword-Destiny)` in [https://github.com/rust-lang/libc/pull/3379](https://github.com/rust-lang/libc/pull/3379)
-   openbsd/netbsd sharing execvpe definition by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3382](https://github.com/rust-lang/libc/pull/3382)
-   ifreq for apple follow-up fix case when in non libc_union case by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3385](https://github.com/rust-lang/libc/pull/3385)
-   NetBSD's mod.rs: fix cpuid_t definition. by [`@&#8203;he32](https://github.com/he32)` in [https://github.com/rust-lang/libc/pull/3386](https://github.com/rust-lang/libc/pull/3386)
-   ifconf addition to apple. fixing freebsd's implementation while at it. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3388](https://github.com/rust-lang/libc/pull/3388)
-   adding exect/execvP for FreeBSD/DragonflyBSD by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3381](https://github.com/rust-lang/libc/pull/3381)
-   adding execvP for apple by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3383](https://github.com/rust-lang/libc/pull/3383)
-   adding ifreq struct for openbsd by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3384](https://github.com/rust-lang/libc/pull/3384)
-   Add `MCL_ONFAULT` constants by [`@&#8203;newpavlov](https://github.com/newpavlov)` in [https://github.com/rust-lang/libc/pull/3380](https://github.com/rust-lang/libc/pull/3380)
-   Add time namespace constant by [`@&#8203;cd-work](https://github.com/cd-work)` in [https://github.com/rust-lang/libc/pull/3352](https://github.com/rust-lang/libc/pull/3352)
-   adding few more CLONE_\* constant for Linux/Android. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3034](https://github.com/rust-lang/libc/pull/3034)
-   android add handful lock free stdio calls by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3290](https://github.com/rust-lang/libc/pull/3290)
-   hurd: Fix msghdr's msg_iov field type by [`@&#8203;sthibaul](https://github.com/sthibaul)` in [https://github.com/rust-lang/libc/pull/3389](https://github.com/rust-lang/libc/pull/3389)
-   Adding missing macros from linux/if_tun.h by [`@&#8203;BrandonMFong](https://github.com/BrandonMFong)` in [https://github.com/rust-lang/libc/pull/3320](https://github.com/rust-lang/libc/pull/3320)
-   vxworks: Add mman.h consts and shm functions by [`@&#8203;jdygert-spok](https://github.com/jdygert-spok)` in [https://github.com/rust-lang/libc/pull/3406](https://github.com/rust-lang/libc/pull/3406)
-   Reenable FreeBSD 14 CI, and update definitions to match 14.0-RC1. by [`@&#8203;asomers](https://github.com/asomers)` in [https://github.com/rust-lang/libc/pull/3355](https://github.com/rust-lang/libc/pull/3355)
-   Use new check-cfg syntax in newer nightly by [`@&#8203;Urgau](https://github.com/Urgau)` in [https://github.com/rust-lang/libc/pull/3410](https://github.com/rust-lang/libc/pull/3410)
-   musl fixes and musl+riscv32 fixes by [`@&#8203;akiernan](https://github.com/akiernan)` in [https://github.com/rust-lang/libc/pull/3302](https://github.com/rust-lang/libc/pull/3302)
-   Add various constants from OpenBSD's sys/exec_elf.h. by [`@&#8203;ltratt](https://github.com/ltratt)` in [https://github.com/rust-lang/libc/pull/3409](https://github.com/rust-lang/libc/pull/3409)
-   riscv64/musl: Add landlock syscalls by [`@&#8203;marv](https://github.com/marv)` in [https://github.com/rust-lang/libc/pull/3398](https://github.com/rust-lang/libc/pull/3398)
-   Add stat64at function declaration to AIX by [`@&#8203;ecnelises](https://github.com/ecnelises)` in [https://github.com/rust-lang/libc/pull/3324](https://github.com/rust-lang/libc/pull/3324)
-   adding getmntinfo/getmntvinfo for DragonFlyBSD. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3394](https://github.com/rust-lang/libc/pull/3394)
-   adding MOVE_MOUNT\* constants for linux to use with SYS_move_mount by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3391](https://github.com/rust-lang/libc/pull/3391)
-   freebsd adding PROT_MAX|PROT_MAX_EXTRACT mmap flags by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3399](https://github.com/rust-lang/libc/pull/3399)
-   linux/android adding few if_alg.h constants. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3404](https://github.com/rust-lang/libc/pull/3404)
-   Setup Dependabot for GitHub Actions by [`@&#8203;JohnTitor](https://github.com/JohnTitor)` in [https://github.com/rust-lang/libc/pull/3411](https://github.com/rust-lang/libc/pull/3411)
-   For NetBSD: add entry for NetBSD/riscv64. by [`@&#8203;he32](https://github.com/he32)` in [https://github.com/rust-lang/libc/pull/3291](https://github.com/rust-lang/libc/pull/3291)
-   adding more recent pthread_get/setname_np calls to freebsd/dragonflybsd by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3412](https://github.com/rust-lang/libc/pull/3412)
-   NetBSD/mipsel: add support. by [`@&#8203;he32](https://github.com/he32)` in [https://github.com/rust-lang/libc/pull/3416](https://github.com/rust-lang/libc/pull/3416)
-   feat: add new constants from fanotify linux api by [`@&#8203;ad0](https://github.com/ad0)` in [https://github.com/rust-lang/libc/pull/3408](https://github.com/rust-lang/libc/pull/3408)
-   linux: add PTRACE_GETSIGMASK and PTRACE_SETSIGMASK by [`@&#8203;mbyzhang](https://github.com/mbyzhang)` in [https://github.com/rust-lang/libc/pull/3163](https://github.com/rust-lang/libc/pull/3163)
-   Add a few declarations for Apple systems by [`@&#8203;vincentisambart](https://github.com/vincentisambart)` in [https://github.com/rust-lang/libc/pull/3328](https://github.com/rust-lang/libc/pull/3328)
-   feat: Added ifconf struct by [`@&#8203;Brijeshkrishna](https://github.com/Brijeshkrishna)` in [https://github.com/rust-lang/libc/pull/3393](https://github.com/rust-lang/libc/pull/3393)
-   Upgrade Docker images to Ubuntu 23.10 by [`@&#8203;JohnTitor](https://github.com/JohnTitor)` in [https://github.com/rust-lang/libc/pull/3418](https://github.com/rust-lang/libc/pull/3418)
-   redox: Add remaining `grp.h` functions by [`@&#8203;ids1024](https://github.com/ids1024)` in [https://github.com/rust-lang/libc/pull/3421](https://github.com/rust-lang/libc/pull/3421)
-   netbsd/openbsd adding more accessors to siginfo_t. by [`@&#8203;devnexen](https://github.com/devnexen)` in [https://github.com/rust-lang/libc/pull/3400](https://github.com/rust-lang/libc/pull/3400)
-   Prepare release for v0.2.150 by [`@&#8203;JohnTitor](https://github.com/JohnTitor)` in [https://github.com/rust-lang/libc/pull/3424](https://github.com/rust-lang/libc/pull/3424)

#### New Contributors

-   [`@&#8203;0xcaff](https://github.com/0xcaff)` made their first contribution in [https://github.com/rust-lang/libc/pull/3376](https://github.com/rust-lang/libc/pull/3376)
-   [`@&#8203;he32](https://github.com/he32)` made their first contribution in [https://github.com/rust-lang/libc/pull/3386](https://github.com/rust-lang/libc/pull/3386)
-   [`@&#8203;sthibaul](https://github.com/sthibaul)` made their first contribution in [https://github.com/rust-lang/libc/pull/3389](https://github.com/rust-lang/libc/pull/3389)
-   [`@&#8203;BrandonMFong](https://github.com/BrandonMFong)` made their first contribution in [https://github.com/rust-lang/libc/pull/3320](https://github.com/rust-lang/libc/pull/3320)
-   [`@&#8203;jdygert-spok](https://github.com/jdygert-spok)` made their first contribution in [https://github.com/rust-lang/libc/pull/3406](https://github.com/rust-lang/libc/pull/3406)
-   [`@&#8203;Urgau](https://github.com/Urgau)` made their first contribution in [https://github.com/rust-lang/libc/pull/3410](https://github.com/rust-lang/libc/pull/3410)
-   [`@&#8203;akiernan](https://github.com/akiernan)` made their first contribution in [https://github.com/rust-lang/libc/pull/3302](https://github.com/rust-lang/libc/pull/3302)
-   [`@&#8203;marv](https://github.com/marv)` made their first contribution in [https://github.com/rust-lang/libc/pull/3398](https://github.com/rust-lang/libc/pull/3398)
-   [`@&#8203;ad0](https://github.com/ad0)` made their first contribution in [https://github.com/rust-lang/libc/pull/3408](https://github.com/rust-lang/libc/pull/3408)
-   [`@&#8203;vincentisambart](https://github.com/vincentisambart)` made their first contribution in [https://github.com/rust-lang/libc/pull/3328](https://github.com/rust-lang/libc/pull/3328)

**Full Changelog**: rust-lang/libc@0.2.149...0.2.150

</details>

<details>
<summary>proptest-rs/proptest (proptest)</summary>

### [`v1.4.0`](https://github.com/proptest-rs/proptest/compare/v1.3.1...v1.4.0)

[Compare Source](https://github.com/proptest-rs/proptest/compare/v1.3.1...v1.4.0)

</details>

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

### [`v1.10.2`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1102-2023-10-16)

[Compare Source](https://github.com/rust-lang/regex/compare/1.10.1...1.10.2)

\===================
This is a new patch release that fixes a search regression where incorrect
matches could be reported.

Bug fixes:

-   [BUG #&#8203;1110](https://github.com/rust-lang/regex/issues/1110):
    Revert broadening of reverse suffix literal optimization introduced in 1.10.1.

### [`v1.10.1`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1101-2023-10-14)

[Compare Source](https://github.com/rust-lang/regex/compare/1.10.0...1.10.1)

\===================
This is a new patch release with a minor increase in the number of valid
patterns and a broadening of some literal optimizations.

New features:

-   [FEATURE 04f5d7be](https://github.com/rust-lang/regex/commit/04f5d7be4efc542864cc400f5d43fbea4eb9bab6):
    Loosen ASCII-compatible rules such that regexes like `(?-u:☃)` are now allowed.

Performance improvements:

-   [PERF 8a8d599f](https://github.com/rust-lang/regex/commit/8a8d599f9d2f2d78e9ad84e4084788c2d563afa5):
    Broader the reverse suffix optimization to apply in more cases.

### [`v1.10.0`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1100-2023-10-09)

[Compare Source](https://github.com/rust-lang/regex/compare/1.9.6...1.10.0)

\===================
This is a new minor release of `regex` that adds support for start and end
word boundary assertions. That is, `\<` and `\>`. The minimum supported Rust
version has also been raised to 1.65, which was released about one year ago.

The new word boundary assertions are:

-   `\<` or `\b{start}`: a Unicode start-of-word boundary (`\W|\A` on the left,
    `\w` on the right).
-   `\>` or `\b{end}`: a Unicode end-of-word boundary (`\w` on the left, `\W|\z`
    on the right)).
-   `\b{start-half}`: half of a Unicode start-of-word boundary (`\W|\A` on the
    left).
-   `\b{end-half}`: half of a Unicode end-of-word boundary (`\W|\z` on the
    right).

The `\<` and `\>` are GNU extensions to POSIX regexes. They have been added
to the `regex` crate because they enjoy somewhat broad support in other regex
engines as well (for example, vim). The `\b{start}` and `\b{end}` assertions
are aliases for `\<` and `\>`, respectively.

The `\b{start-half}` and `\b{end-half}` assertions are not found in any
other regex engine (although regex engines with general look-around support
can certainly express them). They were added principally to support the
implementation of word matching in grep programs, where one generally wants to
be a bit more flexible in what is considered a word boundary.

New features:

-   [FEATURE #&#8203;469](https://github.com/rust-lang/regex/issues/469):
    Add support for `\<` and `\>` word boundary assertions.
-   [FEATURE(regex-automata) #&#8203;1031](https://github.com/rust-lang/regex/pull/1031):
    DFAs now have a `start_state` method that doesn't use an `Input`.

Performance improvements:

-   [PERF #&#8203;1051](https://github.com/rust-lang/regex/pull/1051):
    Unicode character class operations have been optimized in `regex-syntax`.
-   [PERF #&#8203;1090](https://github.com/rust-lang/regex/issues/1090):
    Make patterns containing lots of literal characters use less memory.

Bug fixes:

-   [BUG #&#8203;1046](https://github.com/rust-lang/regex/issues/1046):
    Fix a bug that could result in incorrect match spans when using a Unicode word
    boundary and searching non-ASCII strings.
-   [BUG(regex-syntax) #&#8203;1047](https://github.com/rust-lang/regex/issues/1047):
    Fix panics that can occur in `Ast->Hir` translation (not reachable from `regex`
    crate).
-   [BUG(regex-syntax) #&#8203;1088](https://github.com/rust-lang/regex/issues/1088):
    Remove guarantees in the API that connect the `u` flag with a specific HIR
    representation.

`regex-automata` breaking change release:

This release includes a `regex-automata 0.4.0` breaking change release, which
was necessary in order to support the new word boundary assertions. For
example, the `Look` enum has new variants and the `LookSet` type now uses `u32`
instead of `u16` to represent a bitset of look-around assertions. These are
overall very minor changes, and most users of `regex-automata` should be able
to move to `0.4` from `0.3` without any changes at all.

`regex-syntax` breaking change release:

This release also includes a `regex-syntax 0.8.0` breaking change release,
which, like `regex-automata`, was necessary in order to support the new word
boundary assertions. This release also includes some changes to the `Ast`
type to reduce heap usage in some cases. If you are using the `Ast` type
directly, your code may require some minor modifications. Otherwise, users of
`regex-syntax 0.7` should be able to migrate to `0.8` without any code changes.

`regex-lite` release:

The `regex-lite 0.1.1` release contains support for the new word boundary
assertions. There are no breaking changes.

### [`v1.9.6`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#196-2023-09-30)

[Compare Source](https://github.com/rust-lang/regex/compare/1.9.5...1.9.6)

\==================
This is a patch release that fixes a panic that can occur when the default
regex size limit is increased to a large number.

-   [BUG aa4e4c71](https://github.com/rust-lang/regex/commit/aa4e4c7120b0090ce0624e3c42a2ed06dd8b918a):
    Fix a bug where computing the maximum haystack length for the bounded
    backtracker could result underflow and thus provoke a panic later in a search
    due to a broken invariant.

### [`v1.9.5`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#195-2023-09-02)

[Compare Source](https://github.com/rust-lang/regex/compare/1.9.4...1.9.5)

\==================
This is a patch release that hopefully mostly fixes a performance bug that
occurs when sharing a regex across multiple threads.

Issue [#&#8203;934](https://github.com/rust-lang/regex/issues/934)
explains this in more detail. It is [also noted in the crate
documentation](https://docs.rs/regex/latest/regex/#sharing-a-regex-across-threads-can-result-in-contention).
The bug can appear when sharing a regex across multiple threads simultaneously,
as might be the case when using a regex from a `OnceLock`, `lazy_static` or
similar primitive. Usually high contention only results when using many threads
to execute searches on small haystacks.

One can avoid the contention problem entirely through one of two methods.
The first is to use lower level APIs from `regex-automata` that require passing
state explicitly, such as [`meta::Regex::search_with`](https://docs.rs/regex-automata/latest/regex_automata/meta/struct.Regex.html#method.search_with).
The second is to clone a regex and send it to other threads explicitly. This
will not use any additional memory usage compared to sharing the regex. The
only downside of this approach is that it may be less convenient, for example,
it won't work with things like `OnceLock` or `lazy_static` or `once_cell`.

With that said, as of this release, the contention performance problems have
been greatly reduced. This was achieved by changing the free-list so that it
was sharded across threads, and that ensuring each sharded mutex occupies a
single cache line to mitigate false sharing. So while contention may still
impact performance in some cases, it should be a lot better now.

Because of the changes to how the free-list works, please report any issues you
find with this release. That not only includes search time regressions but also
significant regressions in memory usage. Reporting improvements is also welcome
as well! If possible, provide a reproduction.

Bug fixes:

-   [BUG #&#8203;934](https://github.com/rust-lang/regex/issues/934):
    Fix a performance bug where high contention on a single regex led to massive
    slow downs.

### [`v1.9.4`](https://github.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#194-2023-08-26)

[Compare Source](https://github.com/rust-lang/regex/compare/1.9.3...1.9.4)

\==================
This is a patch release that fixes a bug where `RegexSet::is_match(..)` could
incorrectly return false (even when `RegexSet::matches(..).matched_any()`
returns true).

Bug fixes:

-   [BUG #&#8203;1070](https://github.com/rust-lang/regex/issues/1070):
    Fix a bug where a prefilter was incorrectly configured for a `RegexSet`.

</details>

<details>
<summary>serde-rs/serde (serde)</summary>

### [`v1.0.193`](https://github.com/serde-rs/serde/releases/tag/v1.0.193)

[Compare Source](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193)

-   Fix field names used for the deserialization of `RangeFrom` and `RangeTo` ([#&#8203;2653](https://github.com/serde-rs/serde/issues/2653), [#&#8203;2654](https://github.com/serde-rs/serde/issues/2654), [#&#8203;2655](https://github.com/serde-rs/serde/issues/2655), thanks [`@&#8203;emilbonnek](https://github.com/emilbonnek))`

### [`v1.0.192`](https://github.com/serde-rs/serde/releases/tag/v1.0.192)

[Compare Source](https://github.com/serde-rs/serde/compare/v1.0.191...v1.0.192)

-   Allow internal tag field in untagged variant ([#&#8203;2646](https://github.com/serde-rs/serde/issues/2646), thanks [`@&#8203;robsdedude](https://github.com/robsdedude))`

### [`v1.0.191`](https://github.com/serde-rs/serde/releases/tag/v1.0.191)

[Compare Source](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.191)

-   Documentation improvements

</details>

<details>
<summary>mitsuhiko/similar (similar)</summary>

### [`v2.3.0`](https://github.com/mitsuhiko/similar/blob/HEAD/CHANGELOG.md#230)

[Compare Source](https://github.com/mitsuhiko/similar/compare/2.2.1...2.3.0)

-   Added support for `Change::value_ref` and `Change::value_mut`.

</details>

<details>
<summary>dtolnay/syn (syn)</summary>

### [`v2.0.39`](https://github.com/dtolnay/syn/releases/tag/2.0.39)

[Compare Source](https://github.com/dtolnay/syn/compare/2.0.38...2.0.39)

-   Fix parsing of return expression in match guards ([#&#8203;1528](https://github.com/dtolnay/syn/issues/1528))
-   Improve error message on labeled loop as value expression for break ([#&#8203;1531](https://github.com/dtolnay/syn/issues/1531))

</details>

<details>
<summary>toml-rs/toml (toml)</summary>

### [`v0.8.8`](https://github.com/toml-rs/toml/compare/toml-v0.8.7...toml-v0.8.8)

[Compare Source](https://github.com/toml-rs/toml/compare/toml-v0.8.7...toml-v0.8.8)

### [`v0.8.7`](https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.7)

[Compare Source](https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.7)

</details>

<details>
<summary>tokio-rs/tracing (tracing-subscriber)</summary>

### [`v0.3.18`](https://github.com/tokio-rs/tracing/releases/tag/tracing-subscriber-0.3.18): tracing-subscriber 0.3.18

[Compare Source](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18)

This release of `tracing-subscriber` adds support for the [`NO_COLOR`][NO_COLOR] environment
variable (an informal standard to disable emitting ANSI color escape codes) in
`fmt::Layer`, reintroduces support for the [`chrono`][chrono] crate, and increases the
minimum supported Rust version (MSRV) to Rust 1.63.0.

It also introduces several minor API improvements.

##### Added

-   **chrono**: Add [`chrono`][chrono] implementations of `FormatTime` ([#&#8203;2690])
-   **subscriber**: Add support for the [`NO_COLOR`][NO_COLOR] environment variable in
    `fmt::Layer` ([#&#8203;2647])
-   **fmt**: make `format::Writer::new()` public ([#&#8203;2680])
-   **filter**: Implement `layer::Filter` for `Option<Filter>` ([#&#8203;2407])

##### Changed

-   **log**: bump version of `tracing-log` to 0.2 ([#&#8203;2772])
-   Increased minimum supported Rust version (MSRV) to 1.63.0+.

[`chrono`]: https://github.com/chronotope/chrono

[`NO_COLOR`]: https://no-color.org/

[#&#8203;2690]: https://github.com/tokio-rs/tracing/pull/2690

[#&#8203;2647]: https://github.com/tokio-rs/tracing/pull/2647

[#&#8203;2680]: https://github.com/tokio-rs/tracing/pull/2680

[#&#8203;2407]: https://github.com/tokio-rs/tracing/pull/2407

[#&#8203;2772]: https://github.com/tokio-rs/tracing/pull/2772

Thanks to [`@&#8203;shayne-fletcher](https://github.com/shayne-fletcher),` [`@&#8203;dmlary](https://github.com/dmlary),` [`@&#8203;kaifastromai](https://github.com/kaifastromai),` and [`@&#8203;jsgf](https://github.com/jsgf)` for contributing!

</details>

<details>
<summary>servo/rust-url (url)</summary>

### [`v2.5.0`](https://github.com/servo/rust-url/releases/tag/v2.5.0)

[Compare Source](https://github.com/servo/rust-url/compare/v2.4.1...v2.5.0)

#### What's Changed

-   Fix clippy by [`@&#8203;valenting](https://github.com/valenting)` in [https://github.com/servo/rust-url/pull/878](https://github.com/servo/rust-url/pull/878)
-   use checked addition to not panic in debug build by [`@&#8203;Skgland](https://github.com/Skgland)` in [https://github.com/servo/rust-url/pull/877](https://github.com/servo/rust-url/pull/877)
-   Fix search setting for non-special urls with space, query and fragment by [`@&#8203;edgul](https://github.com/edgul)` in [https://github.com/servo/rust-url/pull/879](https://github.com/servo/rust-url/pull/879)
-   Added #\[must_use] Attributes for Configuration Options by [`@&#8203;Redfire75369](https://github.com/Redfire75369)` in [https://github.com/servo/rust-url/pull/876](https://github.com/servo/rust-url/pull/876)
-   Correct spelling mistake in `Position` docs by [`@&#8203;sprocklem](https://github.com/sprocklem)` in [https://github.com/servo/rust-url/pull/875](https://github.com/servo/rust-url/pull/875)
-   Fix another overflow in punycode encode_into by [`@&#8203;Skgland](https://github.com/Skgland)` in [https://github.com/servo/rust-url/pull/880](https://github.com/servo/rust-url/pull/880)
-   Update url 2.5.0 by [`@&#8203;valenting](https://github.com/valenting)` in [https://github.com/servo/rust-url/pull/885](https://github.com/servo/rust-url/pull/885)

#### New Contributors

-   [`@&#8203;Skgland](https://github.com/Skgland)` made their first contribution in [https://github.com/servo/rust-url/pull/877](https://github.com/servo/rust-url/pull/877)
-   [`@&#8203;edgul](https://github.com/edgul)` made their first contribution in [https://github.com/servo/rust-url/pull/879](https://github.com/servo/rust-url/pull/879)
-   [`@&#8203;Redfire75369](https://github.com/Redfire75369)` made their first contribution in [https://github.com/servo/rust-url/pull/876](https://github.com/servo/rust-url/pull/876)
-   [`@&#8203;sprocklem](https://github.com/sprocklem)` made their first contribution in [https://github.com/servo/rust-url/pull/875](https://github.com/servo/rust-url/pull/875)

**Full Changelog**: servo/rust-url@v2.4.1...v2.5.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on the first day of the month" (UTC), 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants