From 2ce487c45c0dab4abd37d6dcf88bdfb041c5b2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Sun, 14 Apr 2024 15:44:17 +0200 Subject: [PATCH] crashes: limit a couple tests to only run on x86_64 and/or not on windows --- tests/crashes/113280.rs | 1 + tests/crashes/121444.rs | 2 ++ tests/crashes/123077-1.rs | 9 --------- tests/crashes/123077-2.rs | 1 + tests/crashes/23707.rs | 2 +- tests/crashes/34127.rs | 1 + 6 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 tests/crashes/123077-1.rs diff --git a/tests/crashes/113280.rs b/tests/crashes/113280.rs index 6a04b50c0c8d9..86677f416fe20 100644 --- a/tests/crashes/113280.rs +++ b/tests/crashes/113280.rs @@ -1,4 +1,5 @@ //@ known-bug: #113280 +//@ only-x86_64 #![feature(dyn_star, pointer_like_trait)] #![allow(incomplete_features)] diff --git a/tests/crashes/121444.rs b/tests/crashes/121444.rs index d3e5c3851296f..a6373a58c426e 100644 --- a/tests/crashes/121444.rs +++ b/tests/crashes/121444.rs @@ -1,6 +1,8 @@ //@ known-bug: #121444 //@ compile-flags: -Copt-level=0 //@ edition:2021 +//@ only-x86_64 +//@ ignore-windows #[repr(align(536870912))] pub struct A(i64); diff --git a/tests/crashes/123077-1.rs b/tests/crashes/123077-1.rs deleted file mode 100644 index 76e81f730f959..0000000000000 --- a/tests/crashes/123077-1.rs +++ /dev/null @@ -1,9 +0,0 @@ -//@ known-bug: #123077 -use std::arch::x86_64::{__m128, _mm_blend_ps}; - -pub fn sse41_blend_noinline( ) -> __m128 { - let f = { |x, y| unsafe { - _mm_blend_ps(x, y, { |x, y| unsafe }) - }}; - f(x, y) -} diff --git a/tests/crashes/123077-2.rs b/tests/crashes/123077-2.rs index d425625dfd9ad..e086e330337ab 100644 --- a/tests/crashes/123077-2.rs +++ b/tests/crashes/123077-2.rs @@ -1,4 +1,5 @@ //@ known-bug: #123077 +//@ only-x86_64 use std::arch::x86_64::{__m128, _mm_blend_ps}; pub fn sse41_blend_noinline( ) -> __m128 { diff --git a/tests/crashes/23707.rs b/tests/crashes/23707.rs index c8c373c31e24d..4105933c60f4b 100644 --- a/tests/crashes/23707.rs +++ b/tests/crashes/23707.rs @@ -1,6 +1,6 @@ //@ known-bug: #23707 //@ compile-flags: -Copt-level=0 --edition=2021 - +//@ only-x86_64 #![recursion_limit="2048"] use std::marker::PhantomData; diff --git a/tests/crashes/34127.rs b/tests/crashes/34127.rs index 82504486be56c..88a2cf30ec5d5 100644 --- a/tests/crashes/34127.rs +++ b/tests/crashes/34127.rs @@ -1,5 +1,6 @@ //@ compile-flags: -g -Copt-level=0 //@ known-bug: #34127 +//@ only-x86_64 pub fn main() { let _a = [(); 1 << 63];