Skip to content

Conversation

@compnerd
Copy link
Member

We currently cannot use .. as a header search path for Windows even though it may be contained within the package root. This is due to the fact that the path itself was unanchored, and a raw .. would be treated as the drive root which will almost always be outside of the package root. Construct the absolute path relative to the target root rather than appending, permitting us to form a well-formed path which can be checked for ancestry.

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

@swift-ci please smoke test

1 similar comment
@compnerd
Copy link
Member Author

@swift-ci please smoke test

We currently cannot use `..` as a header search path for Windows even
though it may be contained within the package root.  This is due to the
fact that the path itself was unanchored, and a raw `..` would be
treated as the drive root which will almost always be outside of the
package root.  Construct the absolute path relative to the target root
rather than appending, permitting us to form a well-formed path which
can be checked for ancestry.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please test Windows platform

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