rust/tests/mir-opt/building/custom
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
..
arbitrary_let.arbitrary_let.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arbitrary_let.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
consts.consts.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
consts.rs Fix mir-opt tests for big-endian platforms 2023-01-12 18:05:30 +01:00
consts.statics.built.after.mir Fix mir-opt tests for big-endian platforms 2023-01-12 18:05:30 +01:00
enums.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enums.set_discr.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enums.set_discr_repr.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enums.switch_bool.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enums.switch_option.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enums.switch_option_repr.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.set.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.simple_index.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.tuples.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.unions.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.unwrap.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
projections.unwrap_deref.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
references.immut_ref.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
references.mut_ref.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
references.raw_pointer.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
references.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple_assign.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple_assign.simple.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
simple_assign.simple_ref.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
terminators.assert_nonzero.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
terminators.direct_call.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
terminators.drop_first.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
terminators.drop_second.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
terminators.indirect_call.built.after.mir Move /src/test to /tests 2023-01-11 09:32:08 +00:00
terminators.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00