mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[cxx-interop] Workaround a compiler crash on Ubuntu 22.04
Swift is crashing on Ubuntu 22.04 when compiling benchmarks for `std::span`. rdar://136875225
This commit is contained in:
@@ -11,16 +11,17 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import TestsUtils
|
||||
import CxxStdlibPerformance
|
||||
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
|
||||
|
||||
let iterRepeatFactor = 7
|
||||
|
||||
// FIXME swift-ci linux tests do not support std::span
|
||||
#if os(Linux)
|
||||
public let benchmarks = [BenchmarkInfo]()
|
||||
#else
|
||||
|
||||
import CxxStdlibPerformance
|
||||
import CxxStdlib // FIXME(rdar://128520766): this import should be redundant
|
||||
|
||||
let iterRepeatFactor = 7
|
||||
|
||||
public let benchmarks = [
|
||||
BenchmarkInfo(
|
||||
name: "CxxSpanTests.raw.iterator",
|
||||
|
||||
Reference in New Issue
Block a user