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

Fix conditional configuration options usage #1871

Merged
merged 2 commits into from May 28, 2023

Conversation

tcharding
Copy link
Member

These build cfg options are not features, fix broken usage. And remove stale docsrs attribute while we are at it. Bad rust-bitcoin devs.

Found while reviewing #1870

We no longer need to use `doc(cfg())` because we use `doc_cfg_auto`,
remove it.
Our custom conditional configuration options enables for various
versions of the compiler are not features.

Fix the incorrect usage.
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 0046bb8

@tcharding
Copy link
Member Author

cc @yancyribbens just FYI.

Copy link
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

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

ACK 0046bb8

@apoelstra apoelstra merged commit 7315eac into rust-bitcoin:master May 28, 2023
29 checks passed
@tcharding tcharding deleted the 05-24-cfg-not-feature branch May 30, 2023 04:49
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.

None yet

3 participants