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 doc_auto_cfg on docs.rs #195

Merged
merged 3 commits into from
Jul 18, 2022
Merged

Use doc_auto_cfg on docs.rs #195

merged 3 commits into from
Jul 18, 2022

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Jul 16, 2022

This is possible since docs.rs always uses nightly Rust.

Tracking issue: rust-lang/rust#43781

@madsmtm madsmtm added A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates A-framework Affects the framework crates and the translator for them A-block2 Affects the `block2` crate documentation Improvements or additions to documentation labels Jul 16, 2022
@madsmtm madsmtm force-pushed the doc-cfg branch 2 times, most recently from b0bc1e1 to ee8cea0 Compare July 18, 2022 19:10
@madsmtm madsmtm changed the title Use doc(cfg(...)) Use doc_auto_cfg on docs.rs Jul 18, 2022
@madsmtm madsmtm marked this pull request as ready for review July 18, 2022 19:16
@madsmtm madsmtm force-pushed the doc-cfg branch 5 times, most recently from 6024ade to da48d54 Compare July 18, 2022 21:35
The `doc_auto_cfg` apparently doesn't propagate properly through `extern "C"` blocks
@madsmtm madsmtm merged commit 020a847 into master Jul 18, 2022
@madsmtm madsmtm deleted the doc-cfg branch July 18, 2022 22:53
@madsmtm madsmtm mentioned this pull request Jul 19, 2022
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-block2 Affects the `block2` crate A-framework Affects the framework crates and the translator for them A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant