Skip to content

Commit f6a9367

Browse files
committed
Fix std_example on s390x
1 parent e82b533 commit f6a9367

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

example/std_example.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ fn main() {
166166
enum Never {}
167167
}
168168

169+
// FIXME once abi_unsupported_vector_types is a hard error disable this test when the respective
170+
// target feature is not enabled.
171+
#[allow(abi_unsupported_vector_types)]
169172
foo(I64X2([0, 0]));
170173

171174
transmute_wide_pointer();
@@ -207,6 +210,9 @@ fn rust_call_abi() {
207210
struct I64X2([i64; 2]);
208211

209212
#[allow(improper_ctypes_definitions)]
213+
// FIXME once abi_unsupported_vector_types is a hard error disable this test when the respective
214+
// target feature is not enabled.
215+
#[allow(abi_unsupported_vector_types)]
210216
extern "C" fn foo(_a: I64X2) {}
211217

212218
#[cfg(target_arch = "x86_64")]

0 commit comments

Comments
 (0)