Skip to content

Disable VFS overlay on Windows #5980

New issue

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

Merged
merged 1 commit into from
Dec 17, 2022
Merged

Conversation

neonichu
Copy link
Contributor

It looks like we're seeing an issue with the use of the VFS overlay on Windows which leads to manifests being loaded from the current working directory instead of the path mapped by the VFS. While we are investigating a solution, disable the use of the overlay on Windows since its intent is having more correct paths in diagnostics which is mostly cosmetic.

It looks like we're seeing an issue with the use of the VFS overlay on Windows which leads to manifests being loaded from the current working directory instead of the path mapped by the VFS. While we are investigating a solution, disable the use of the overlay on Windows since its intent is having more correct paths in diagnostics which is mostly cosmetic.
@neonichu neonichu requested a review from compnerd December 17, 2022 02:28
@neonichu neonichu self-assigned this Dec 17, 2022
@neonichu
Copy link
Contributor Author

Tested the Windows code path locally by running the package loading test suite, only failing test was testPackageContextDirectory which seems expected, so I am disabling it for Windows as part of this PR.

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

Verified that this repairs the windows hosted SPM.

@compnerd
Copy link
Member

I'm going to merge this for now, it repairs the Windows builds and hopefully will allow us to get a snapshot built with this.

@compnerd compnerd merged commit 6231a75 into main Dec 17, 2022
@compnerd compnerd deleted the disable-vfs-overlay-on-windows branch December 17, 2022 16:44
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