Skip to content

io: Enable features in internals crate#4890

Merged
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
tcharding:push-pnqomlnxmuky
Aug 22, 2025
Merged

io: Enable features in internals crate#4890
apoelstra merged 1 commit into
rust-bitcoin:masterfrom
tcharding:push-pnqomlnxmuky

Conversation

@tcharding

Copy link
Copy Markdown
Member

In io we use a macro from internals that has feature gated code dependent on "alloc" but currently we are not enabling "alloc". This is a bug -

Repeat after me: calling macros across crate boundries is an incessant source of bugs.

In `io` we use a macro from `internals` that has feature gated code
dependent on "alloc" but currently we are not enabling "alloc". This
is a bug -

Repeat after me: calling macros across crate boundries is an incessant
source of bugs.
@github-actions github-actions Bot added the C-io PRs modifying the io crate label Aug 18, 2025

@apoelstra apoelstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK a3c1d86; successfully ran local tests

@apoelstra
apoelstra merged commit 71c473b into rust-bitcoin:master Aug 22, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-io PRs modifying the io crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants