Skip to content

Driver: simplify `Driver.computeSDKPath(_:compilerMode:toolchain:targ… #1771

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

compnerd
Copy link
Member

…etTriple:fileSystem:iagnosticsEngine:env:)`

Simplify the logic in this method to help reduce some of the dependency on the FileSystem type from tools-support-core. The incidental benefit here is to reduce the dependency on AbsolutePath and RelativePath.

The semantic changes incurred by this change is that the -sdk parameter for the frontend is now always converted to an absolute path from the relative path.

…etTriple:fileSystem:iagnosticsEngine:env:)`

Simplify the logic in this method to help reduce some of the dependency
on the `FileSystem` type from tools-support-core. The incidental benefit
here is to reduce the dependency on `AbsolutePath` and `RelativePath`.

The semantic changes incurred by this change is that the `-sdk`
parameter for the frontend is now always converted to an absolute path
from the relative path.
@compnerd compnerd requested a review from artemcm December 24, 2024 00:46
@compnerd
Copy link
Member Author

@swift-ci please test

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant