Remove swift-function-caller-generator's dependency on Foundation

Building Foundation seems to be optional in the Linux build script,
which makes it tricky to link against outside of Darwin platforms. This
removes the dependency on Foundation and calls libc for I/O instead.
This commit is contained in:
Henrik G. Olsson
2025-10-05 23:25:54 -07:00
parent e8ee9c2459
commit d6d2ff4bc0
3 changed files with 56 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "swift-function-caller-generator",
platforms: [.macOS(.v11)],
platforms: [.macOS(.v13)],
products: [
.executable(name: "swift-function-caller-generator", targets: ["swift-function-caller-generator"]),
],