From dbc3bf48c48075e3db6b9dc42b6255eefefdb73e Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Thu, 4 Nov 2021 16:44:48 -0500 Subject: [PATCH] treat illumos like solaris in failing ui tests which need it --- src/test/ui/intrinsics/intrinsic-alignment.rs | 1 + src/test/ui/structs-enums/rec-align-u64.rs | 1 + src/test/ui/x86stdcall.rs | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/ui/intrinsics/intrinsic-alignment.rs b/src/test/ui/intrinsics/intrinsic-alignment.rs index 5a27ea8783a2f..6007eba8c0906 100644 --- a/src/test/ui/intrinsics/intrinsic-alignment.rs +++ b/src/test/ui/intrinsics/intrinsic-alignment.rs @@ -15,6 +15,7 @@ mod rusti { target_os = "emscripten", target_os = "freebsd", target_os = "fuchsia", + target_os = "illumos", target_os = "linux", target_os = "macos", target_os = "netbsd", diff --git a/src/test/ui/structs-enums/rec-align-u64.rs b/src/test/ui/structs-enums/rec-align-u64.rs index cc6412e271a13..3bc2d16cf9df2 100644 --- a/src/test/ui/structs-enums/rec-align-u64.rs +++ b/src/test/ui/structs-enums/rec-align-u64.rs @@ -36,6 +36,7 @@ struct Outer { target_os = "emscripten", target_os = "freebsd", target_os = "fuchsia", + target_os = "illumos", target_os = "linux", target_os = "macos", target_os = "netbsd", diff --git a/src/test/ui/x86stdcall.rs b/src/test/ui/x86stdcall.rs index 2bf4cfc500320..868923e593243 100644 --- a/src/test/ui/x86stdcall.rs +++ b/src/test/ui/x86stdcall.rs @@ -28,10 +28,11 @@ pub fn main() { target_os = "emscripten", target_os = "freebsd", target_os = "fuchsia", + target_os = "illumos", target_os = "linux", target_os = "macos", target_os = "netbsd", target_os = "openbsd", - target_os = "vxworks", - target_os = "solaris"))] + target_os = "solaris", + target_os = "vxworks"))] pub fn main() { }