Skip to content

Commit 8a82bdb

Browse files
committed
Update parserLibraryDependency to use StaticInternalSwiftSyntaxParser
1 parent 0b6c22b commit 8a82bdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Package.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ if ProcessInfo.processInfo.environment["SWIFT_BUILD_SCRIPT_ENVIRONMENT"] != nil
2828
// - We need to require that the target is macOS (checked by `.when`) because binary dependencies are only supported by SwiftPM on macOS.
2929
#if os(macOS)
3030
let parserLibraryTarget: [Target] = [.binaryTarget(
31-
name: "_InternalSwiftSyntaxParser",
32-
url: "https://github.com/apple/swift-syntax/releases/download/0.50600.1/_InternalSwiftSyntaxParser.xcframework.zip",
33-
checksum: "0e0d9ecbfddd0765485ded160beb9e7657e7add9d5ffd98ef61e8bd0c967e3a9"
31+
name: "lib_InternalSwiftSyntaxParser",
32+
url: "https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.6/lib_InternalSwiftSyntaxParser.xcframework.zip",
33+
checksum: "88d748f76ec45880a8250438bd68e5d6ba716c8042f520998a438db87083ae9d"
3434
)]
35-
let parserLibraryDependency: [Target.Dependency] = [.target(name: "_InternalSwiftSyntaxParser", condition: .when(platforms: [.macOS]))]
35+
let parserLibraryDependency: [Target.Dependency] = [.target(name: "lib_InternalSwiftSyntaxParser", condition: .when(platforms: [.macOS]))]
3636
#else
3737
let parserLibraryTarget: [Target] = []
3838
let parserLibraryDependency: [Target.Dependency] = []

0 commit comments

Comments
 (0)