We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We're seeing the following warnings when using the plugin on Linux:
13:02:05 /tmp/.check-api_EHIjZG/repo/.build/x86_64-unknown-linux-gnu/apidiff/d16e216341cd13c4f72bf53164dd39acbf14ebbd-checkout/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values 13:02:05 switch dependency { 13:02:05 ^ 13:02:05 /tmp/.check-api_EHIjZG/repo/.build/x86_64-unknown-linux-gnu/apidiff/d16e216341cd13c4f72bf53164dd39acbf14ebbd-checkout/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default" 13:02:05 switch dependency { 13:02:05 ^
And the respective source is https://github.com/apple/swift-docc-plugin/blob/main/Plugins/SharedPackagePluginExtensions/PackageExtensions.swift#L36-L40
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) @unknown default: return #endif
Why is this handling only apple platforms - can this be removed so we avoid warning on Linux builds?
The text was updated successfully, but these errors were encountered:
Looks like it was addressed by #67
Sorry, something went wrong.
Seems so! Thanks for the ping
No branches or pull requests
We're seeing the following warnings when using the plugin on Linux:
And the respective source is https://github.com/apple/swift-docc-plugin/blob/main/Plugins/SharedPackagePluginExtensions/PackageExtensions.swift#L36-L40
Why is this handling only apple platforms - can this be removed so we avoid warning on Linux builds?
The text was updated successfully, but these errors were encountered: