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 hex_lit::hex in benches #1941

Merged
merged 1 commit into from Jul 14, 2023

Conversation

tcharding
Copy link
Member

Currently the test hex macro is only available when the test compiler configuration option is set but we are using it in benches code, this works for use because cargo bench sets test for the current crate, however it breaks downstream crates.

Fix: #1830

Currently the test `hex` macro is only available when the `test`
compiler configuration option is set but we are using it in benches
code, this works for use because `cargo bench` sets `test` for the
current crate, however it breaks downstream crates.

Fix: rust-bitcoin#1830
Copy link
Collaborator

@RCasatta RCasatta left a comment

Choose a reason for hiding this comment

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

ACK 81a4253

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 81a4253

@apoelstra apoelstra merged commit 39c708c into rust-bitcoin:master Jul 14, 2023
29 checks passed
apoelstra added a commit that referenced this pull request Jul 17, 2023
99ded54 release 0.30.1 (Andrew Poelstra)
b46b61a Use hex_lit::hex in benches (Tobin C. Harding)

Pull request description:

  Needed to unstick rust-bitcoin/rust-miniscript#482

ACKs for top commit:
  tcharding:
    ACK 99ded54
  sanket1729:
    utACK 99ded54

Tree-SHA512: d8eeb3203be8d5823a600f4e8066061f27a2eef576f7e979271bf435c4610ed1861b4416254eb52ed2306df250bebca35cec12e8ecaa3779ca12a7b8ddae3a3c
@tcharding tcharding deleted the 07-14-use-hex-lit branch July 18, 2023 00:08
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.

"no hex in internal_macros" error in benches of downstream crate
3 participants