Skip to content

Commit ec6b86e

Browse files
committed
[embedded] Pass -pthreads in embedded/once-multithreaded.swift to link correctly on Linux
1 parent 1ad839f commit ec6b86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/embedded/once-multithreaded.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %{python} %utils/split_file.py -o %t %s
33

44
// RUN: %target-swift-frontend %t/Main.swift %S/Inputs/print.swift -import-bridging-header %t/BridgingHeader.h -enable-experimental-feature Embedded -c -o %t/main.o
5-
// RUN: %target-clang %t/main.o -o %t/a.out -dead_strip
5+
// RUN: %target-clang %t/main.o -o %t/a.out -dead_strip -pthreads
66
// RUN: %target-run %t/a.out | %FileCheck %s
77

88
// REQUIRES: swift_in_compiler

0 commit comments

Comments
 (0)