From 40cde789f792769a1d938f6bc620b6a67c3b8099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 9 Oct 2026 09:15:54 +0200 Subject: [PATCH] test-standalone: remove some dead #ifdefs in c_compiler --- test/standalone/c_compiler/test.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/standalone/c_compiler/test.cpp b/test/standalone/c_compiler/test.cpp index 1f3fe173d28a46a67e338ef7d57dd5466316d8fd..f3a12afe605f02cb5b4863513ccb0d3b9e19aa2d 100644 --- a/test/standalone/c_compiler/test.cpp +++ b/test/standalone/c_compiler/test.cpp @@ -1,9 +1,6 @@ #include #include - -#ifndef _LIBCPP_HAS_NO_THREADS #include -#endif thread_local unsigned int tls_counter = 1; @@ -59,14 +56,12 @@ int main (int argc, char *argv[]) if (!ok) abort(); -#ifndef _LIBCPP_HAS_NO_THREADS std::future fut = std::async(is_prime, 313); bool ret = fut.get(); assert(ret); -#endif -#if !defined(__wasm__) && !defined(__APPLE__) - // WASM and macOS are not passing this yet. +#if !defined(__APPLE__) + // macOS is not passing this yet. // TODO file an issue for this and link it here. try { throw 20; -- 2.54.0