mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
f8c86c82bf
Remove byte swap of valtree hash on big endian This addresses problem reported in #103183. The code was originally introduced in https://github.com/rust-lang/rust/commit/e14b34c386ad2809e937e0e6e0379c5cc5474954. (see https://github.com/rust-lang/rust/pull/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.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.