Skip to content

primitives: Reduce alloc requirements#3711

Merged
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:12-09-reduce-alloc
Dec 10, 2024
Merged

primitives: Reduce alloc requirements#3711
apoelstra merged 1 commit intorust-bitcoin:masterfrom
tcharding:12-09-reduce-alloc

Conversation

@tcharding
Copy link
Copy Markdown
Member

Recently we reduced the alloc requirements in units but we did not propagate these changes up to primitives.

Remove a bunch of alloc feature gating from primitives.

Recently we reduced the `alloc` requirements in `units` but we did not
propagate these changes up to `primitives`.

Remove a bunch of `alloc` feature gating from `primitives`.
Copy link
Copy Markdown
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 6ae35be; successfully ran local tests; nice!

@apoelstra apoelstra merged commit e7efdd7 into rust-bitcoin:master Dec 10, 2024
@tcharding
Copy link
Copy Markdown
Member Author

tcharding commented Dec 10, 2024

hmm I must have botched the API text file stuff, this PR got through CI but https://github.com/rust-bitcoin/rust-bitcoin/actions/runs/12265170371/job/34220646659?pr=3715 has all the stuff that was added here.

@tcharding
Copy link
Copy Markdown
Member Author

tcharding commented Dec 10, 2024

Oh, perhaps its because CI ran before #3682 was merged.

tcharding added a commit to tcharding/rust-bitcoin that referenced this pull request Dec 10, 2024
In a recent PR (rust-bitcoin#3682) we introduced api text files. Then in another
PR (rust-bitcoin#3711) we removed `alloc` feature gating. Possibly due to the
timing of running through CI and merging these two PRs managed to get
merged without an update to the API text files.

As would be expected; removing the `alloc` feature gate adds a bunch of
new lines to the `no-features` api text file.
@tcharding
Copy link
Copy Markdown
Member Author

#3721 adds the api text file changes introduced by this PR.

@tcharding tcharding deleted the 12-09-reduce-alloc branch December 12, 2024 03:53
apoelstra added a commit that referenced this pull request Dec 12, 2024
601a47f Add new api text file changes (Tobin C. Harding)

Pull request description:

  In a recent PR (#3682) we introduced api text files. Then in another PR (#3711) we removed `alloc` feature gating. Possibly due to the timing of running through CI and merging these two PRs managed to get merged without an update to the API text files.

  As would be expected; removing the `alloc` feature gate adds a bunch of new lines to the `no-features` api text file.

ACKs for top commit:
  jamillambert:
    ACK 601a47f
  apoelstra:
    ACK 601a47f; successfully ran local tests

Tree-SHA512: 65e22192bcc386172ec1b74651c35deef954f9f461e6dc0758140b67c62c9afa0290031ddb04d67455a558dbfb10126c042c01002057b400cd5aff7d4e38e4da
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