Commit d524c6d
committed
Merge #442: Explicitly do not support 16 bit architectures
d02c313 Explicitly do not support 16 bit architectures (Tobin C. Harding)
Pull request description:
We cast `u32` to `usize` in a bunch of places, this will cause strange behaviour because of truncation on 16 bit architectures.
Add a compile time check to explicitly not support 16 bit architectures.
ACKs for top commit:
apoelstra:
ACK d02c313
Tree-SHA512: 11466e173913c5337f9a4ea03a4df5ee6be809ca32987494881d470c87a41f9cca77dde7ed68289896cce5cc875b89ab34a164ea2f4dc41b9fbe6e0ab9a62e711 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
0 commit comments