Skip to content
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

[SR-13334] To allow package tools version to affect build-time semantics, targets should record their tools version #4516

Closed
abertelrud opened this issue Aug 1, 2020 · 2 comments
Assignees

Comments

@abertelrud
Copy link
Contributor

Previous ID SR-13334
Radar rdar://problem/66408828
Original Reporter @abertelrud
Type Improvement
Status Closed
Resolution Won't Do
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Improvement
Assignee @abertelrud
Priority Medium

md5: 3f77995b30f6cf5878d066d7a59a6f6d

Issue Description:

A package's declared swift tools version determines not only the API that is available to the package manifest, but also the semantics used for the target at build time. This can include how a Clang target's headers are represented in an automatically generated module map, etc.

Currently, targets in the SwiftPM package model don't record the declared tools version of the package manifest from where they came. This tracks the work of plumbing that information through so that it is available to the build plan and libSwiftPM clients.

@abertelrud
Copy link
Contributor Author

@swift-ci create

@abertelrud
Copy link
Contributor Author

@aciidb0mb3r pointed out that there is API to get from the target to the package, from where we can then get the tools version. So additional API is not needed.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
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

No branches or pull requests

1 participant