os-rust/tests/mir-opt/building
Ulrich Weigand 6885733c41 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.
2023-01-12 18:05:30 +01:00
..
custom Fix mir-opt tests for big-endian platforms 2023-01-12 18:05:30 +01:00
enum_cast.bar.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum_cast.boo.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum_cast.droppy.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum_cast.foo.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum_cast.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_49232.main.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_49232.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_101867.main.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue_101867.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match_false_edges.full_tested_match.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match_false_edges.full_tested_match2.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match_false_edges.main.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
match_false_edges.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
receiver_ptr_mutability.main.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
receiver_ptr_mutability.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple_match.match_bool.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple_match.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
storage_live_dead_in_statics.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
storage_live_dead_in_statics.XXX.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
uniform_array_move_out.move_out_by_subslice.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
uniform_array_move_out.move_out_from_end.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
uniform_array_move_out.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00