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

Feature gate the Keypair::FromStr impl #728

Merged

Conversation

tcharding
Copy link
Member

@tcharding tcharding commented Aug 29, 2024

Currently we are panicing if neither global-context or alloc features are enabled. We do not need to do so, we can just disable the whole impl of FromStr.

This was pulled out of #699.

Currently we are panicing if neither `global-context` or `alloc`
features are enabled. We do not need to do so, we can just disable the
whole impl of `FromStr`.
@apoelstra
Copy link
Member

Will let @Kixunil ACK this one as well since he was involved in the other PR.

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 d600a6c successfully ran local tests

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 d600a6c

@apoelstra apoelstra merged commit a3aa0d9 into rust-bitcoin:master Aug 30, 2024
19 of 20 checks passed
apoelstra added a commit that referenced this pull request Sep 2, 2024
aee0cfc CI: Re-write using maintainer tools (Tobin C. Harding)
89facea Rewrite cross to use dtolnay runner (Tobin C. Harding)
0668943 CI: Remove cross job (Tobin C. Harding)

Pull request description:

  Patch 1 is now on its own in #728

  Re-write CI using the new maintainer tools script. A few things to note:

  - Currently we have `Cross` job in `rust.yaml` as well as `cross.yaml`, remove the one in `rust.yaml`.
  - Put sanitizer and wasm jobs in their own scripts
  - Utilize `extra_tests.sh` for additional feature combos
  - We are exceeding the 20 job limit, see the README

  Unless I'm made a mistake this shouldn't reduce the test coverage in any way (except sanitizer mentioned below).

  I commented out the MSAN stuff same as we did in `hashes`. I'm not sure what is the status of that but it seems to be failing still - did not look into it.

  Please note, I do not know _why_ the xargo stuff is run from in the ASAN job currently, but this PR keep it that way - adding it to the `sanitizer.sh` script.

ACKs for top commit:
  storopoli:
    ACK aee0cfc
  apoelstra:
    ACK aee0cfc successfully ran local tests

Tree-SHA512: ab828c19c9189bb3af7e517deafca1adf606d3e9db81a890b12125bb9923b6f9f3b8e2ab7afc538aa58aa62958e38f07e6418ccfa985c06595a1b6dbeca247b6
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.

3 participants