From 7d9ebf19434f45a37dcff9be2873bf061eed6561 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 14 Mar 2025 13:06:32 -0700 Subject: [PATCH] test-dispatch-static-stdlib: drop DispatchStubs This was used originally for the autorelease elision stub but is no longer needed. The stubs now simply service the ObjC runtime support, which is not enabled on Linux. This cleans up the invocation to allow simplifying the libdispatch build. --- test-static-stdlib/test-dispatch-static-stdlib.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-static-stdlib/test-dispatch-static-stdlib.test b/test-static-stdlib/test-dispatch-static-stdlib.test index 40a872a..68673f8 100644 --- a/test-static-stdlib/test-dispatch-static-stdlib.test +++ b/test-static-stdlib/test-dispatch-static-stdlib.test @@ -1,7 +1,7 @@ REQUIRES: platform=Linux RUN: rm -rf %t RUN: mkdir -p %t -RUN: %{swiftc} -static-stdlib %S/dispatch_test.swift -ldispatch -lswiftDispatch -lDispatchStubs -o %t/dispatch_test +RUN: %{swiftc} -static-stdlib %S/dispatch_test.swift -ldispatch -lswiftDispatch -o %t/dispatch_test RUN: %t/dispatch_test | %{FileCheck} %s CHECK: OK