Skip to content

add macos 10.15 support#14

Draft
ZibanPirate wants to merge 25 commits intomainfrom
macos10.15
Draft

add macos 10.15 support#14
ZibanPirate wants to merge 25 commits intomainfrom
macos10.15

Conversation

@ZibanPirate
Copy link
Copy Markdown
Owner

No description provided.

@ZibanPirate ZibanPirate requested a review from Copilot August 21, 2025 11:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds macOS 10.15 (Catalina) support to the Swift package by specifying a minimum platform version and adding a Swift compilation setting for library embedding.

  • Adds macOS 10.15 as the minimum supported platform
  • Includes Swift setting to always embed Swift standard libraries
  • Updates package target configuration formatting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

name: "lib-rust",
swiftSettings: [
.define("SWIFT_PACKAGE_ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES")
])
Copy link

Copilot AI Aug 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SWIFT_PACKAGE_ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES define is typically used for C/C++ targets that need to link with Swift libraries, but this appears to be applied to a Swift target named 'lib-rust'. This setting may not be necessary or appropriate for a pure Swift target. Consider whether this define is actually needed for your use case.

Suggested change
])
// swiftSettings intentionally left empty; removed unnecessary define
])

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants