Skip to content

Commit 8b53c43

Browse files
committed
TEMPORARY: Revert this patch after bitcoin-io v0.1.4 merges
We want CI to pass on the io-0.1.x branch but `bitcoin` is currently borked and its breaking the build. Since we are only doing the `io` release add a patch that fixes the build, after we build and tag the patch before this one we can then revert this one. Ugly as sin I know.
1 parent 2f68a1c commit 8b53c43

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

bitcoin/src/blockdata/locktime/absolute.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,12 @@ impl LockTime {
284284
}
285285
}
286286

287-
units::impl_parse_str_from_int_infallible!(LockTime, u32, from_consensus);
287+
// REVERT THIS CHANGE SOON AS `bitcoin-io v0.1.4` IS RELEASED.
288+
//
289+
// This macro call is borked because `btcoin` does not have the `alloc` feature and the macro
290+
// contains feature gating `<insert usual rand about calling macros across crate boundries>`.
291+
//
292+
// units::impl_parse_str_from_int_infallible!(LockTime, u32, from_consensus);
288293

289294
impl From<Height> for LockTime {
290295
#[inline]

bitcoin/src/blockdata/transaction.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,12 @@ impl fmt::Debug for Sequence {
526526
}
527527
}
528528

529-
units::impl_parse_str_from_int_infallible!(Sequence, u32, from_consensus);
529+
// REVERT THIS CHANGE SOON AS `bitcoin-io v0.1.4` IS RELEASED.
530+
//
531+
// This macro call is borked because `btcoin` does not have the `alloc` feature and the macro
532+
// contains feature gating `<insert usual rand about calling macros across crate boundries>`.
533+
//
534+
// units::impl_parse_str_from_int_infallible!(Sequence, u32, from_consensus);
530535

531536
/// Bitcoin transaction output.
532537
///

0 commit comments

Comments
 (0)