Skip to content

Commit 3ff5101

Browse files
committed
[cxx-interop] Workaround a modularization issue in benchmarks
`import CxxStdlib` should not be required, since `CxxStdlibPerformance` transitively imports the C++ stdlib, but having the explicit import works around a modularization issue (rdar://128520766). rdar://136330247
1 parent fe796b4 commit 3ff5101

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmark/cxx-source/CxxSpanTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
import TestsUtils
1414
import CxxStdlibPerformance
15+
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
1516

1617
let iterRepeatFactor = 7
1718

0 commit comments

Comments
 (0)