about summary refs log tree commit diff
path: root/src/test/codegen/remap_path_prefix
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2022-12-06 18:12:46 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2022-12-06 18:12:46 +0100
commit3d33af38b31bd885df502b7e9e6d0dd003ae900a (patch)
tree4c0d59b1bdc9dc25e09fc477bec46c12923caf7b /src/test/codegen/remap_path_prefix
parentb6852428a8ea9728369b64b9964cad8e258403d3 (diff)
downloadrust-3d33af38b31bd885df502b7e9e6d0dd003ae900a.tar.gz
rust-3d33af38b31bd885df502b7e9e6d0dd003ae900a.zip
Fix failing codegen tests on s390x
Several codegen tests are currently failing due to making
assumptions that are not valid for the s390x architecture:

- catch-unwind.rs: fails due to inlining differences.
  Already ignored on another platform for the same reason.
  Solution: Ignore on s390x.

- remap_path_prefix/main.rs: fails due to different alignment
  requirement for string constants.
  Solution: Do not test for the alignment requirement.

- repr-transparent-aggregates-1.rs: many ABI assumptions.
  Already ignored on many platforms for the same reason.
  Solution: Ignore on s390x.

- repr-transparent.rs: no vector ABI by default on s390x.
  Already ignored on another platform for a similar reason.
  Solution: Ignore on s390x.

- uninit-consts.rs: hard-coded little-endian constant.
  Solution: Match both little- and big-endian versions.

Fixes part of https://github.com/rust-lang/rust/issues/105383.
Diffstat (limited to 'src/test/codegen/remap_path_prefix')
-rw-r--r--src/test/codegen/remap_path_prefix/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/remap_path_prefix/main.rs b/src/test/codegen/remap_path_prefix/main.rs
index 9bef743ddcb..78ebbccfce1 100644
--- a/src/test/codegen/remap_path_prefix/main.rs
+++ b/src/test/codegen/remap_path_prefix/main.rs
@@ -12,7 +12,7 @@ mod aux_mod;
 include!("aux_mod.rs");
 
 // Here we check that the expansion of the file!() macro is mapped.
-// CHECK: @alloc2 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }>, align 1
+// CHECK: @alloc2 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }>
 pub static FILE_PATH: &'static str = file!();
 
 fn main() {