Skip to content

Commit 4a058ae

Browse files
authored
Fix test/stdlib/VarArgs.swift on the minimal/standalone bot (#39029)
* Fix test/stdlib/VarArgs.swift on the minimal/standalone bot * Update VarArgs.swift
1 parent bc8657b commit 4a058ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/stdlib/VarArgs.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
import Swift
55

6+
// Work around the inability for static-library based Swift runtime builds to
7+
// directly link against Darwin.swiftmodule by using a benign dependency on
8+
// StdlibUnittest.
9+
// https://bugs.swift.org/browse/SR-15118
10+
import StdlibUnittest
11+
runAllTests()
12+
613
#if canImport(Darwin)
714
import Darwin
815
#if _runtime(_ObjC)

0 commit comments

Comments
 (0)