Skip to content

Conversation

jakepetroules
Copy link
Contributor

This allows generating WASM SDKs that do not have support for targeting Swift.

This allows generating WASM SDKs that do not have support for targeting Swift.
@@ -17,7 +17,7 @@ import struct SystemPackage.FilePath

package struct WebAssemblyRecipe: SwiftSDKRecipe {
let hostSwiftPackage: HostToolchainPackage?
let targetSwiftPackagePath: FilePath
let targetSwiftPackagePath: FilePath?
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind adding a doc comment to this property explaining why this is optional? What's the use case for omitting it?

Suggested change
let targetSwiftPackagePath: FilePath?
/// ...
let targetSwiftPackagePath: FilePath?

@MaxDesiatov MaxDesiatov changed the title Make targetSwiftPackagePath optional for WASM SDK generation Make targetSwiftPackagePath optional for Wasm Swift SDK generation Sep 4, 2025
@jakepetroules
Copy link
Contributor Author

@swift-ci test macOS

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.

2 participants