Skip to content

fix build on docs.rs: doc_auto_cfg merged with doc_cfg#582

Merged
zhiburt merged 1 commit into
zhiburt:masterfrom
amorison:docrs-build
Jul 15, 2026
Merged

fix build on docs.rs: doc_auto_cfg merged with doc_cfg#582
zhiburt merged 1 commit into
zhiburt:masterfrom
amorison:docrs-build

Conversation

@amorison

@amorison amorison commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

The doc_auto_cfg feature has been merged with doc_cfg. rust-lang/rust#138907

It might be worth setting up an action running cargo docs-rs to detect this sort of issues in CI. See https://github.com/syphar/cargo-docs-rs

@zhiburt

zhiburt commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Hi @amorison

Thank you for your commitment.
I am not sure how you spotted it)

It might be worth setting up an action running cargo docs-rs to detect this sort of issues in CI. See https://github.com/syphar/cargo-docs-rs

That's something I was experimenting with a long time ago.
And have not succeed :)

I mean I was basically figuring out the parameters docs-rs uses.


I am not sure whether it's safe enough to merge, since we will no longer support older compilers right?
If it's OK I'll merge it.

And if you could have time to help with CI could be great :)
Just saying :)

@amorison

amorison commented Jun 4, 2026

Copy link
Copy Markdown
Contributor Author

I spotted the issue on docs.rs itself, there is a warning note that the build didn't pass with an error message leading to the relevant PR: https://docs.rs/crate/tabled/0.21.0

I am not sure whether it's safe enough to merge, since we will no longer support older compilers right?

In practice cfg_attr(docsrs, ...) only gets used when building on docs.rs. You can of course configure your own environment to mimic docs.rs, but you'd have to go out of your way to do that. So the crate itself is still usable with older versions of rustc. You also have a CI action that uses your MSRV (1.83 apparently), and this passed so I think everything is fine.

And if you could have time to help with CI could be great :)

I might have some time in the coming days to have a look at the existing CI.

@amorison

amorison commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Is there anything blocking this being merged?

@zhiburt

zhiburt commented Jul 15, 2026

Copy link
Copy Markdown
Owner

No I think it is cool

Thank you @amorison.
Sorry for delay, it's just work and life....I see issues/PR/comments but often forget to address or rather don't have capacity 😞 .

Once again sorry.
And thank you.

Have a great day there.
Take care.

@zhiburt
zhiburt merged commit 9619c06 into zhiburt:master Jul 15, 2026
131 of 132 checks passed
@amorison
amorison deleted the docrs-build branch July 15, 2026 13:40
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