You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check for the include directory for a library Clang target (#3583)
* Throw an error for a library clang target if include dir is not found
* Added toolchain version check / Added a test
* cleanup
* cleanup diagnostic msg
@@ -914,13 +914,15 @@ public final class PackageBuilder {
914
914
// It's not a Swift target, so it's a Clang target (those are the only two types of source target currently supported).
915
915
916
916
// First determine the type of module map that will be appropriate for the target based on its header layout.
917
-
// FIXME: We should really be checking the target type to see whether it is one that can vend headers, not just check for the existence of the public headers path. But right now we have now way of distinguishing between, for example, a library and an executable. The semantics here should be to only try to detect the header layout of targets that can vend public headers.
0 commit comments