rust/tests/run-make/target-specs
David Wood 46652dd254
llvm: simplify data layout check
Don't skip the inconsistent data layout check for custom LLVMs.

With #118708, all targets will have a simple test that would trigger this
check if LLVM's data layouts do change - so data layouts would be
corrected during the LLVM upgrade. Therefore, with builtin targets, this
check won't trigger with our LLVM because each target will have been
confirmed to work. With non-builtin targets, this check is probably
useful to have because you can change the data layout in your target and
if its wrong then that could lead to bugs.

When using a custom LLVM, the same justification makes sense for
non-builtin targets as with our LLVM, the user can update their target to
match their LLVM and that's probably a good thing to do. However, with
a custom LLVM, the user cannot change the builtin target data layouts if
they don't match - though given that the compiler's data layout is used
for layout computation and a bunch of other things - you could get some
bugs because of the mismatch and probably want to know about that.

`CFG_LLVM_ROOT` was also always set during local development with
`download-ci-llvm` so this bug would never trigger locally.

Signed-off-by: David Wood <david@davidtw.co>
2024-01-18 10:46:03 +00:00
..
Makefile llvm: simplify data layout check 2024-01-18 10:46:03 +00:00
definitely-not-builtin-target.json Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
endianness-mismatch.json Make sure to include default en-US ftl resources for rustc_error crate 2023-06-23 17:22:07 +00:00
foo.rs Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
mismatching-data-layout.json Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
my-awesome-platform.json Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
my-incomplete-platform.json Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
my-invalid-platform.json Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00
my-x86_64-unknown-linux-gnu-platform.json Move almost all run-make-fulldeps to run-make 2023-03-30 07:34:55 -05:00