You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attempt to compute 184_usize - 192_usize, which would overflow
cargo ndk -t i686-linux-android build --release
...
error[E0080]: evaluation of constant value failed
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lightning-0.0.125/src/routing/scoring.rs:807:46
|
807 | const _LIQUIDITY_MAP_SIZING_CHECK_2: usize = ::core::mem::size_of::<(u64, ChannelLiquidity)>() - 192;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `184_usize - 192_usize`, which would overflow
For more information about this error, try `rustc --explain E0080`.
error: could not compile `lightning` (lib) due to 1 previous error
Maybe the 32 bit usize affects the ChannelLiquidity size calculation in _LIQUIDITY_MAP_SIZING_CHECK_2?
Building version
0.0.125
on 32 bit fails withMaybe the 32 bit
usize
affects theChannelLiquidity
size calculation in_LIQUIDITY_MAP_SIZING_CHECK_2
?rust-lightning/lightning/src/routing/scoring.rs
Line 805 in 8da30df
This worked fine with the previous version we used,
0.0.118
.Is this a bug, or was support for 32 bit dropped in the meantime? Thanks.
The text was updated successfully, but these errors were encountered: