We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17403cd commit 7a8d368Copy full SHA for 7a8d368
example/std_example.rs
@@ -166,6 +166,7 @@ fn main() {
166
enum Never {}
167
}
168
169
+ #[cfg(not(target_arch = "s390x"))] // s390x doesn't have vector instructions enabled by default
170
foo(I64X2([0, 0]));
171
172
transmute_wide_pointer();
@@ -203,9 +204,11 @@ fn rust_call_abi() {
203
204
rust_call_abi_callee((1, 2));
205
206
207
+#[cfg_attr(target_arch = "s390x", allow(dead_code))]
208
#[repr(simd)]
209
struct I64X2([i64; 2]);
210
211
212
#[allow(improper_ctypes_definitions)]
213
extern "C" fn foo(_a: I64X2) {}
214
0 commit comments