Skip to content

Commit 240267e

Browse files
authored
swift-syntax-rs: declare macOS 10.15 platform for cargo build
1 parent f604997 commit 240267e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎unified/swift-syntax-rs/swift/Package.swift‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ import PackageDescription
33

44
let package = Package(
55
name: "SwiftSyntaxFFI",
6+
platforms: [
7+
// swift-syntax 602 requires macOS 10.15; declare it explicitly
8+
// rather than relying on the swift-tools-version default (10.13).
9+
.macOS(.v10_15),
10+
],
611
products: [
712
// Dynamic library so the produced .so records its dependency on the
813
// Swift runtime libraries, keeping the Rust link step simple.

0 commit comments

Comments
 (0)