Skip to content

Driver: virtualise the plugin path handling #68322

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
Sep 5, 2023

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Sep 4, 2023

The plugin layouts are different across platforms. Move this into a virtual method and allow replacement. On Windows, the plugins are placed into the bin directory as the DLLs should always be co-located to ensure that the proper DLLs are found (there is no concept of RPATH).

The plugin layouts are different across platforms.  Move this into a
virtual method and allow replacement.  On Windows, the plugins are
placed into the `bin` directory as the DLLs should always be co-located
to ensure that the proper DLLs are found (there is no concept of RPATH).
@compnerd compnerd requested a review from artemcm as a code owner September 4, 2023 22:22
@compnerd
Copy link
Member Author

compnerd commented Sep 4, 2023

@swift-ci please smoke test

compnerd added a commit to compnerd/swift-driver that referenced this pull request Sep 4, 2023
The test suite is currently entirely broken on Windows (awaiting
@cachemeifyoucan to fix swiftlang#1431).  This speculatively
changes the driver to alter the search paths to match
swiftlang/swift#68322).
@compnerd compnerd merged commit 4665413 into swiftlang:main Sep 5, 2023
@compnerd compnerd deleted the virtual-path-handling branch September 5, 2023 01:30
compnerd added a commit to compnerd/swift-driver that referenced this pull request Sep 7, 2023
The test suite is currently entirely broken on Windows (awaiting
@cachemeifyoucan to fix swiftlang#1431).  This speculatively
changes the driver to alter the search paths to match
swiftlang/swift#68322).
compnerd added a commit to compnerd/swift-driver that referenced this pull request Sep 7, 2023
The test suite is currently entirely broken on Windows (awaiting
@cachemeifyoucan to fix swiftlang#1431).  This speculatively
changes the driver to alter the search paths to match
swiftlang/swift#68322).
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.

1 participant