Skip to content

Conversation

@bobrik
Copy link
Collaborator

@bobrik bobrik commented Sep 30, 2025

error[E0557]: feature has been removed
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.0/src/lib.rs:57:29
   |
57 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
   |                             ^^^^^^^^^^^^ feature has been removed
   |
   = note: removed in CURRENT_RUSTC_VERSION; see <https://github.com/rust-lang/rust/pull/138907> for more information
   = note: merged into `doc_cfg`

```
error[E0557]: feature has been removed
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.6.0/src/lib.rs:57:29
   |
57 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
   |                             ^^^^^^^^^^^^ feature has been removed
   |
   = note: removed in CURRENT_RUSTC_VERSION; see <rust-lang/rust#138907> for more information
   = note: merged into `doc_cfg`
```
@bobrik bobrik force-pushed the ivan/no-doc-auto-cfg branch from 3db5786 to d330a15 Compare September 30, 2025 07:13
@bobrik bobrik changed the title Remove doc_auto_cfg to clear errors on 1.90.0 Remove doc_auto_cfg to clear errors on nightly Sep 30, 2025
@bobrik bobrik force-pushed the ivan/no-doc-auto-cfg branch from d330a15 to 7ff4d70 Compare September 30, 2025 07:13
@TheJokr
Copy link
Collaborator

TheJokr commented Sep 30, 2025

ugh, looks like we need to change the name of our docsrs flag (or socket2 needs to be fixed). can you replace docsrs with sth like foundations-docsrs?

E: did this myself since it also blocks my PR

By using a crate-specific `cfg(foundations_docsrs)` we avoid enabling
the removed feature in our dependency crates.
@TheJokr TheJokr merged commit 97e547b into cloudflare:main Sep 30, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants