Skip to content

Commit

Permalink
Update Package.swift to explicitly not support Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
calda authored Jan 28, 2024
1 parent 26d8419 commit caeb693
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ let package = Package(
dependencies: ["Lottie"],
path: "Tests")
])

// Emit an error on Linux, so Swift Package Manager's platform support detection doesn't say this package supports Linux
// https://github.com/airbnb/swift/discussions/197#discussioncomment-4055303
#if os(Linux)
#error("Linux is currently not supported")
#endif

0 comments on commit caeb693

Please sign in to comment.