Skip to content

Conversation

bkhouri
Copy link
Contributor

@bkhouri bkhouri commented Sep 4, 2025

Add a new build setting named SWIFT_DISABLE_PARSE_AS_LIBRARY, that, when set, will not send -parse-as-library compiler command line argument.

Relates to: swiftlang/swift-package-manager#9040

Add a new build setting named `SWIFT_DISABLE_PARSE_AS_LIBRARY`, that,
when set, will not send `-parse-as-library` compiler command line
argument.

Relates to: swiftlang/swift-package-manager#9040
@bkhouri
Copy link
Contributor Author

bkhouri commented Sep 4, 2025

@swift-ci test

bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Sep 4, 2025
Snippets are treated as executable targets with the native build system.

This change updates the PIF Builder to support snippet, giving Snippet
support with the Swift Build build system.

Depends on: swiftlang/swift-build#775
Fixes: swiftlang#9040
issue: rdar://158630024
issue: rdar://147705448
@bkhouri bkhouri marked this pull request as ready for review September 4, 2025 17:31
bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Sep 4, 2025
Snippets are treated as executable targets with the native build system.

This change updates the PIF Builder to support snippet, giving Snippet
support with the Swift Build build system.

Depends on: swiftlang/swift-build#775
Fixes: swiftlang#9040
issue: rdar://158630024
issue: rdar://147705448
@bkhouri bkhouri merged commit 5646c0f into swiftlang:main Sep 4, 2025
37 checks passed
@bkhouri bkhouri deleted the t/main/gh9040_snippets branch September 4, 2025 18:39
bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Sep 8, 2025
Snippets are treated as executable targets with the native build system.

This change updates the PIF Builder to support snippet, giving Snippet
support with the Swift Build build system.

Depends on: swiftlang/swift-build#775
Fixes: swiftlang#9040
issue: rdar://158630024
issue: rdar://147705448
bkhouri added a commit to bkhouri/swift-package-manager that referenced this pull request Sep 8, 2025
Snippets are treated as executable targets with the native build system.

This change updates the PIF Builder to support snippet, giving Snippet
support with the Swift Build build system.

Depends on: swiftlang/swift-build#775
Fixes: swiftlang#9040
issue: rdar://158630024
issue: rdar://147705448
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants