Skip to content

Commit 93c647a

Browse files
authored
Merge pull request #76871 from swiftlang/egorzhdan/benchmarks-crash-linux
[cxx-interop] Workaround a compiler crash on Ubuntu 22.04
2 parents c56e983 + 9f3dad4 commit 93c647a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

benchmark/cxx-source/CxxSpanTests.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
import TestsUtils
14-
import CxxStdlibPerformance
15-
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
16-
17-
let iterRepeatFactor = 7
1814

1915
// FIXME swift-ci linux tests do not support std::span
2016
#if os(Linux)
2117
public let benchmarks = [BenchmarkInfo]()
2218
#else
2319

20+
import CxxStdlibPerformance
21+
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
22+
23+
let iterRepeatFactor = 7
24+
2425
public let benchmarks = [
2526
BenchmarkInfo(
2627
name: "CxxSpanTests.raw.iterator",

0 commit comments

Comments
 (0)