Skip to content

Conversation

@tcharding
Copy link
Member

rust-bitcoin is failing to lint and docs build with a recent nightly toolchain because of this crate.

Fix both issues then update nightly to prove its ok.

Seems this has been removed and recent nightly compiler won't build
this crate as is.

Some random post says use `doc_cfg` instead but we have that already
so just remove the `doc_auto_cfg`. I didn't think too hard about this.

ref: https://users.rust-lang.org/t/fallout-from-removal-of-doc-auto-cfg/134435
@tcharding
Copy link
Member Author

There has been a bit of work here, instead of backporting this to 0.3.0 shall we just cut a 0.4.0 @apoelstra?

    
This macro is only used in the file it is defined, remove the
unnecessary re-export.
   
Found by recent nightly `clippy`.
Recent clippy is erroring with:

 error: unexpected `cfg` condition name: `rust_version`

Config clippy in the manifest as is customary.
Update nightly to verify that it builds now that `doc_auto_cfg` has
been removed.
@apoelstra
Copy link
Member

We probably have to backport the doc_auto_cfg thing because I think it will break downstream users.

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK b79a0e1; successfully ran local tests

@tcharding
Copy link
Member Author

Ah true that, I'll do a backport then we can release either or both?

@tcharding
Copy link
Member Author

Shall we give this a few days and see what happens in the community first?

@apoelstra
Copy link
Member

Nah, let's just work on backporting. But we don't need to be too urgent about it.

@apoelstra apoelstra merged commit fe1a4dd into rust-bitcoin:master Oct 8, 2025
14 checks passed
@apoelstra
Copy link
Member

@tcharding can we get a 0.3.1 out with this pls?

@tcharding
Copy link
Member Author

tcharding commented Nov 23, 2025

Done in #194, the lint patch didn't apply. Lets see what CI says.

EDIT: For clarity, backport done in 194 also.

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.

2 participants