Commit f8c86c8
committed
Auto merge of rust-lang#103231 - ecnelises:le_fix, r=lcnr
Remove byte swap of valtree hash on big endian
This addresses problem reported in rust-lang#103183. The code was originally introduced in rust-lang@e14b34c. (see rust-lang#96591)
On big-endian environment, this operation sequence actually put the other half from 128-bit result, thus we got different hash result on LE and BE.1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
| 669 | + | |
| 670 | + | |
673 | 671 | | |
674 | 672 | | |
675 | 673 | | |
| |||
0 commit comments