diff options
author | fee1-dead <ent3rm4n@gmail.com> | 2023-01-09 23:35:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-09 23:35:27 +0800 |
commit | 63f2a13855a4b81989f43e8001c1a0ea64c0090f (patch) | |
tree | a133cdf0216951c086f24f33f943adb0cad0764d /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | c1f8a3ffb2b9b155b400a675727ebd470938805c (diff) | |
parent | 73e7207bfc0dc47f7b54c81c0d2351387ef708fb (diff) | |
download | rust-63f2a13855a4b81989f43e8001c1a0ea64c0090f.tar.gz |
Rollup merge of #106047 - uweigand:s390x-test-bigendian-ui, r=oli-obk
Fix ui constant tests for big-endian platforms
A number of tests under ui/const-ptr and ui/consts are currently failing on big-endian platforms as the binary encoding of some constants is hard-coded in the stderr test files.
Fix this by a combination of two types of changes:
- Where possible (i.e. where the particular value of a constant does not affect the purpose of the test), choose constant values that have the same encoding on big- and little-endian platforms.
- Where this is not possible, provide a normalize-stderr-test rule that transforms the printed big-endian encoding of such constants into the corresponding little-endian form.
Fixes part of https://github.com/rust-lang/rust/issues/105383.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions