common, compiler: Upgrade to SystemPackage
Continuous Integration / Grammar Tests (push) Successful in 35s
Continuous Integration / Library Format Tests (push) Successful in 1m16s
Continuous Integration / Library Tests (push) Successful in 4m11s

For cross-platform support.

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-05-07 23:43:27 -04:00
parent 355e62d61d
commit d28ccd79e4
4 changed files with 21 additions and 10 deletions
+7 -1
View File
@@ -36,6 +36,7 @@ let package = Package(
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/swiftlang/swift-syntax", from: "602.0.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-system", from: "1.6.1"),
],
targets: [
.macro(
@@ -67,7 +68,11 @@ let package = Package(
),
.target(
name: "Common",
dependencies: ["Macros"],
dependencies: [
"Macros",
.product(name: "SystemPackage", package: "swift-system"),
],
swiftSettings: [.enableExperimentalFeature("CodeItemMacros")],
),
.target(
@@ -90,6 +95,7 @@ let package = Package(
name: "Tests",
dependencies: [
"P4Compiler", "P4Runtime", "P4Lang", "Macros", "TreeSitterExtensions", "Common",
.product(name: "SystemPackage", package: "swift-system"),
],
swiftSettings: [.enableExperimentalFeature("CodeItemMacros")],
),