Skip to content

Commit f68fed2

Browse files
authored
Merge pull request #78179 from compnerd/unregistered
runtime: avoid the toolchain Swift registrar
2 parents c421d4f + ca13658 commit f68fed2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Runtimes/Core/core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,8 @@ target_link_libraries(swiftCore
322322
swiftDemangling
323323
swiftStdlibStubs
324324
swiftThreading)
325+
target_link_options(swiftCore PRIVATE
326+
-nostartfiles)
325327
if(NOT POLICY CMP0157)
326328
target_compile_options(swiftCore PRIVATE
327329
$<TARGET_OBJECTS:swiftRuntime>

0 commit comments

Comments
 (0)