Skip to content

docs: replace doc_auto_cfg config with doc_cfg#1142

Merged
seanmonstar merged 5 commits intoseanmonstar:masterfrom
tottoto:replace-doc-auto-cfg-with-doc-cfg
Oct 18, 2025
Merged

docs: replace doc_auto_cfg config with doc_cfg#1142
seanmonstar merged 5 commits intoseanmonstar:masterfrom
tottoto:replace-doc-auto-cfg-with-doc-cfg

Conversation

@tottoto
Copy link
Copy Markdown
Contributor

@tottoto tottoto commented Oct 2, 2025

doc_auto_cfg was merged into doc_cfg in rust-lang/rust#138907.

Comment thread .github/workflows/ci.yml
- name: cargo check
run: cargo check --all-features
env:
RUSTFLAGS: "--cfg docsrs"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this line was important for something... There's a builder that has docs exposed but otherwise the type is unnameable, and I added this to catch that all methods were documented correctly. I think?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Migrated this checking to the building document process. It could be detected as https://github.com/seanmonstar/warp/actions/runs/18195955801/job/51802257485#step:4:202.

@seanmonstar seanmonstar merged commit eaf00ef into seanmonstar:master Oct 18, 2025
10 checks passed
@tottoto tottoto deleted the replace-doc-auto-cfg-with-doc-cfg branch October 18, 2025 11:31
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.

2 participants