Skip to content

[6.0][ScanDependency] Respect working directory set inside invocation #74950

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

Conversation

cachemeifyoucan
Copy link
Contributor

Explanation: Teach scanner to respect the working directory set in the invocation through scanner C API.
Scope: Affect build system using C API to set current working directory for the scanning tasks
Issue: rdar://127626011
Original PR: #73500
Reviewer: @artemcm
Risk: Low
Test: UnitTest

Teach scanner to respect the working directory set in the invocation
through scanner C API.

Also add test infrastructure to testing scanner from C API. Break up
DependencyScan lib into two so the swift-scan-test and remain small
without understanding swift AST.

rdar://127626011
(cherry picked from commit 47598bb)
@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner July 3, 2024 19:26
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan cachemeifyoucan changed the title [ScanDependency] Respect working directory set inside invocation [6.0][ScanDependency] Respect working directory set inside invocation Jul 3, 2024
@cachemeifyoucan cachemeifyoucan enabled auto-merge July 3, 2024 22:40
@cachemeifyoucan cachemeifyoucan merged commit 3ea85ec into swiftlang:release/6.0 Jul 4, 2024
5 checks passed
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.

3 participants