diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2022-12-22 16:33:12 +0100 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2023-01-12 18:05:30 +0100 |
| commit | 6885733c41844ac0ea24b965e91616a16a631697 (patch) | |
| tree | fd29dde6e4ccccb94e063860e18c17dbc846d1f1 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 606c3907251397a42e23d3e60de31be9d32525d5 (diff) | |
| download | rust-6885733c41844ac0ea24b965e91616a16a631697.tar.gz rust-6885733c41844ac0ea24b965e91616a16a631697.zip | |
Fix mir-opt tests for big-endian platforms
The test cases src/test/mir-opt/building/custom/consts.rs and src/test/mir-opt/const_prop/mutable_variable_no_prop.rs are currently failing on big-endian platforms as the binary encoding of some constants is hard-coded in the MIR test files. Fix this by choosing constant values that have the same encoding on big- and little-endian platforms. The test case src/test/mir-opt/issues/issue_75439.rs is failing as well, but since the purpose of the test is to validate handling of big-endian integer encodings on a little-endian platform, it does not make much sense to run it on big-endian platforms in the first place - we can just ignore it there. Fixed part of https://github.com/rust-lang/rust/issues/105383.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
