Skip to content

Commit 2796e15

Browse files
committed
[embedded] Disable building Darwin as embedded, unbreak the build and CI
1 parent b60ed0b commit 2796e15

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

stdlib/public/Platform/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ add_swift_target_library(swiftDarwin ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES}
7777
INSTALL_IN_COMPONENT sdk-overlay
7878
MACCATALYST_BUILD_FLAVOR "zippered")
7979

80-
if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
80+
# TODO(mracek): Disable building Darwin module as embedded pending investigations into a build failure
81+
if(FALSE)
8182
set(SWIFT_ENABLE_REFLECTION OFF)
8283

8384
add_custom_target(embedded-darwin ALL)

test/embedded/darwin-bridging-header.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// REQUIRES: VENDOR=apple
1212
// REQUIRES: OS=macosx
1313

14+
// Temporarily disabled:
15+
// REQUIRES: rdar119283700
16+
1417
// BEGIN BridgingHeader.h
1518

1619
#include <unistd.h>

test/embedded/darwin.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
// REQUIRES: VENDOR=apple
1010
// REQUIRES: OS=macosx
1111

12+
// Temporarily disabled:
13+
// REQUIRES: rdar119283700
14+
1215
import Darwin
1316

1417
@main

0 commit comments

Comments
 (0)